Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. VS hangs when loading web project

VS hangs when loading web project

Scheduled Pinned Locked Moved Visual Studio
csharpvisual-studiosysadminwindows-admin
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jason Pease
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • J Jason Pease

      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

      J Offline
      J Offline
      Jason Pease
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups