VS hangs when loading web project
-
I have a simple web project that has VSS integrated. The project opens and runs fine on all of our development machines, but when I download it from VSS to our laptop VS.NET often hangs when trying to open the only web project in the solution. I say "often" because at times it opens normally. The csproj solution is where the solution expects it to be, //localhost/WebProject/WebProject.csproj, but IIS never serves the file. In fact, if I put the web path of the project file show above into IE, IE also hangs. There seems to be a connection because if I restart IIS, both VS.NET and IE immediately return messages that the web server is not running. And ideas would be greatly appreciated, Jason
-
I have a simple web project that has VSS integrated. The project opens and runs fine on all of our development machines, but when I download it from VSS to our laptop VS.NET often hangs when trying to open the only web project in the solution. I say "often" because at times it opens normally. The csproj solution is where the solution expects it to be, //localhost/WebProject/WebProject.csproj, but IIS never serves the file. In fact, if I put the web path of the project file show above into IE, IE also hangs. There seems to be a connection because if I restart IIS, both VS.NET and IE immediately return messages that the web server is not running. And ideas would be greatly appreciated, Jason
I found out what was happening but not why. The web.config file contains a connection string to a SQL Server database that was not reachable from the laptop and the project was hanging because it was waiting for a response from SQL Server. I corrected the connetion string and VS was able to open the project. The question remains however why VS was even trying to open the connection in the first place. The connection string is accessed at different points in the application, but none of that code should have been executed while VS was opening the project. If anyone has any ideas I'd be interested in hearing them. Thanks, Jason.