ASP and ASP.NET pages in same application

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?
 
I

Ian Murphy

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
 
B

BobRoyAce

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top