Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP and ASP.NET pages in same application

Reply
Thread Tools

ASP and ASP.NET pages in same application

 
 
BobRoyAce
Guest
Posts: n/a
 
      01-20-2005
I have inherited a web application that has a ton of ASP pages married
together with like twenty-something .NET/C# pages. Currently, the initial
start page is a page called default.asp and it is an ASP (not ASP.NET) page.
My question is how can I, within VS.NET, set the default.asp page as the
start page? I am thinking it's not possible 'cuz VS.NET doesn't allow for
tracing through ASP pages (e.g. for debugging purposes). What I want to be
able to do is debug one or more of the .aspx pages. How can this be
accomplished?


 
Reply With Quote
 
 
 
 
Ian Murphy
Guest
Posts: n/a
 
      01-20-2005
Create a default.aspx and add a single line in the page load function

response.redirect ("default.asp")

and mark default.aspx as your initial page in vs.net.

You should configure iis in production to load default.asp, saving the
redirect each time a user opens your site.

Regards

Ian
 
Reply With Quote
 
 
 
 
BobRoyAce
Guest
Posts: n/a
 
      01-20-2005
That's clever! Yea, IIS is set up for default.asp to be the startup
page...just didn't know how to do it using VS.NET.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.net 2 Master pages menu and saving pages - Weired situation - please help Annie ASP .Net 4 04-24-2007 12:16 PM
prevent to open the SAME APPLICATION (with the same session) in two or more browser windows. jaibux@gmail.com ASP .Net 8 02-13-2007 03:24 PM
Same Application with Web and Desktop Application Interface ASP .Net Security 2 10-19-2005 05:19 PM
Four ASP.NET Pages in Frames Vs. One ASP.NET Pages Manish ASP .Net 1 11-17-2003 05:56 PM
ASP.NET and ASP in same IIS Application Ravikanth[MVP] ASP .Net 0 08-04-2003 11:31 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57