views:

974

answers:

2

Occasionally, when I open a visual studio 2003 ASP.NET project it seems to spend forever loading up then finally displays the following error message:

"The web server reported the following error while attempting to create or open the web project located at the following URL: http://localhost/myprojectname. The operation timed out."

Any idea why this happens and how to fix it?

+1  A: 

The fix for me was to unregister the re-register iis for .net:

Open command window and navigate to C:\windows\microsoft.net\framework\v1.1.4322 Type in aspnet_regiis -u Once finished uninstalling ASP.NET type in apsnet_regiis -i

Just performing aspnet_regiis -i by itself did not work.

Still unsure as to why this is happening but probably something to do with switching dev environments between Eclipse\Java\JBoss to VS2003\C#\IIS

acripps
This did not work for me. In fact, after trying it I had to re-allow ASP.NET 1.1 under Web Service Extensions and also had to reset all my sites back to ASP.NET 1.1 because they all went to 2.0 when 1.1 was uninstalled.
Todd Ropog
+1  A: 

This worked for me...

http://forums.asp.net/p/1192304/2066860.aspx

On my XP development machine I went to "C:\Documents and Settings\USERNAME\VSWebCache\USERNAME\" and deleted the folder matching my VS2003 solution name. (Actually I moved the folder to C:\Temp just in case). This worked, although one designer file would not load without a re-build and the start-up page needed to be re-marked. I don't understand why my solution depends on this VSWebCache (it re-appeared when I re-built my solution.) Can anyone explain this dependence? It's un-settling.

DeveloperDan
This solution did work for me.
Todd Ropog