473,385 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Can asp 3.0 code coexist on an aspx page? Ad Rotator Component

I have used my first aspx page on our site to utitlize the Ad Rotator
component.

However, I note that my traditional asp 3.0 code generations compilation
errros (eg Let and Set not allowed in fuctions in new version) which puts to
painful convervsion of code to aspx.

But, is there a way to allow traditional asp to run on aspx page by
codifying some form of 'transitional' declaration on the page in the same
way one does for xhtml standard pages?

Thank You
Jason
Nov 19 '05 #1
4 1490
Nope... they are completly different animals, operated by different DLLs on
the server.

It's usually best to convert over to asp.net (with VB.net, C#, whatever) and
completely get rid of the ASP (vbscript?) code/site. They weren't designed to
work together.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"ja***@catamaranco.com" wrote:
I have used my first aspx page on our site to utitlize the Ad Rotator
component.

However, I note that my traditional asp 3.0 code generations compilation
errros (eg Let and Set not allowed in fuctions in new version) which puts to
painful convervsion of code to aspx.

But, is there a way to allow traditional asp to run on aspx page by
codifying some form of 'transitional' declaration on the page in the same
way one does for xhtml standard pages?

Thank You
Jason

Nov 19 '05 #2
No, it's part of what you change your ASP code into ASP.NET code.
Search/replace is your friend.

You could also try :
http://msdn.microsoft.com/asp.net/mi...t/default.aspx
(ASP to ASP.NET migration)

http://samples.gotdotnet.com/quickst...agecompat.aspx (ASP
& ASP.NET Language compatibility, details why you have to change this)
--
Patrice

<ja***@catamaranco.com> a écrit dans le message de
news:u8**************@TK2MSFTNGP09.phx.gbl...
I have used my first aspx page on our site to utitlize the Ad Rotator
component.

However, I note that my traditional asp 3.0 code generations compilation
errros (eg Let and Set not allowed in fuctions in new version) which puts to painful convervsion of code to aspx.

But, is there a way to allow traditional asp to run on aspx page by
codifying some form of 'transitional' declaration on the page in the same
way one does for xhtml standard pages?

Thank You
Jason

Nov 19 '05 #3
Very helpful - thank you.

"Patrice" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
No, it's part of what you change your ASP code into ASP.NET code.
Search/replace is your friend.

You could also try :
http://msdn.microsoft.com/asp.net/mi...t/default.aspx
(ASP to ASP.NET migration)

http://samples.gotdotnet.com/quickst...agecompat.aspx
(ASP
& ASP.NET Language compatibility, details why you have to change this)
--
Patrice

<ja***@catamaranco.com> a écrit dans le message de
news:u8**************@TK2MSFTNGP09.phx.gbl...
I have used my first aspx page on our site to utitlize the Ad Rotator
component.

However, I note that my traditional asp 3.0 code generations compilation
errros (eg Let and Set not allowed in fuctions in new version) which puts

to
painful convervsion of code to aspx.

But, is there a way to allow traditional asp to run on aspx page by
codifying some form of 'transitional' declaration on the page in the same
way one does for xhtml standard pages?

Thank You
Jason


Nov 19 '05 #4
Yeah, I figured......need to get my hands dirty! Phew.

Thanks
Jason
ps: Curt, are you still using a laptop for web dev. purposes.....have you by
any chance upgraded or moved to a new model...if so would appreciate
feedback on your specs and any suggestions for 'perfect' web dev latop...I
know, asking a lot!
"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
news:71**********************************@microsof t.com...
Nope... they are completly different animals, operated by different DLLs
on
the server.

It's usually best to convert over to asp.net (with VB.net, C#, whatever)
and
completely get rid of the ASP (vbscript?) code/site. They weren't designed
to
work together.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"ja***@catamaranco.com" wrote:
I have used my first aspx page on our site to utitlize the Ad Rotator
component.

However, I note that my traditional asp 3.0 code generations compilation
errros (eg Let and Set not allowed in fuctions in new version) which puts
to
painful convervsion of code to aspx.

But, is there a way to allow traditional asp to run on aspx page by
codifying some form of 'transitional' declaration on the page in the same
way one does for xhtml standard pages?

Thank You
Jason

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

242
by: James Cameron | last post by:
Hi I'm developing a program and the client is worried about future reuse of the code. Say 5, 10, 15 years down the road. This will be a major factor in selecting the development language. Any...
0
by: Randy | last post by:
I am trying to use the AdRotator control within a .Net application and have run into a snag. I want to use multiple ad/image zones on the same page and don't want the same image in more than one...
1
by: jonathanthio | last post by:
How do I create a page rotator? Is there a script for that? Also is there a way to do a page rotator that's not random but based on cookies. For example, if a new person see my website, it'll...
2
by: LIN | last post by:
Hello, Greetings. I am creating a web site which will contain lot of articles. I had been planning to create simple HTML page on the server everytime i posted a article (eg. article12.html )....
9
by: JohnSmith | last post by:
I suspect this is easy, but I have been stumped for a day trying to solve this.. I want to be able to have an unlimited number of aspx pages that all use the code in one class file. I want code...
6
by: GaryB | last post by:
I have an ASPX page and a vb codebehind file that takes as input a passed web datagrid as input. My page has a CrystalReportsViewer on it. My page produces a PDF report of the DataGrid that was...
2
by: Ric | last post by:
im new to asp.net. from what i understand, you have the aspx file (presentation), user-control(ascx file), code-behind(vb file) and components(compiled vb and dll files). the aspx file contains a...
3
by: Mark A. Sam | last post by:
Hello, Does anyone know of a third party ad rotator that automatically changes the images? It seems like the ad rotator in that comes with Visual Web Developer changes images only when the...
5
by: slowmotiongenius | last post by:
All- I have established an adodb recordset in my code-behind, and I need to pass it to the aspx file. I can't seem to figure out if there is a way to do this. I see you can pass a string over...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.