Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't host VS 2005 ASP.net apps on localhost/virtualdirectory?

Status
Not open for further replies.

johnfraser

Programmer
Jul 25, 2007
33
US
I left for a 4 week vacation (well "vacation" is my daughter's birth). I come back and suddonly I can't debug my ASP.net application.

It's an ASP.net WebApplication and the Properties under the web tab are setup to "User IIS Web server"

Project Url = override is NOT checked

The only thing that I've done since I came back was keep the old copy of the solution/project files from VSS and copy them into a new directory for cleanup and entry into ClearCase (company is making the switch).

So it seems like both copies of the project had their settings set to when clearly the virtual directory was only pointing to one (most likely the original location).

What does work is using the built in debugger web host this is not ideal since i have some security software that requires me to use localhost iis.

What I have tried:

clicking "create web directory" (says it's successful).
ensuring permissions are setup correctly
removing the virtual directory and clicking the vs button again
removing the virtual directory and manuall adding the vd
backup and reinstall the iis (uninstall and reinstall directions from this site: try creating a blank web application and testing it (it also fails).

I'm pretty much up crap creak. wiping the system could take 2 weeks at my company. Any advice would be great.
 
What version of the .net framework are you using?
Make sure in you properties of your web site..through IIS->Properties that your web site is using the correct framework.



Ordinary Programmer
 
Hi good question.
I'm running .net 2.0
Specifically Version 2.0.50727

Unfortunately I already tried this.

But Thanks!
 
Hello,

Make sure that you don't have v.1 and v.2 of .net web apps running in the same application pool...

Hope this helps,

marie
 
Thanks, funny thing, after doing nothing 1 day later everything is working just fine =(.... Just wish I knew what I did to fix it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top