ASP and ASP.NET pages in same application

  • Thread starter Thread starter BobRoyAce
  • Start date Start date
B

BobRoyAce

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?
 
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
 
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.
 
Back
Top