While establishing a connection to SQL Server, a network-related or instance-specific problem occurred - ASP.NET MVC Entity Framework

asp.net-mvc-3 entity-framework sql-server-2008

Popular Answer

Given that it occasionally/most of the time works (as you indicate),

  • Connection string is valid.
  • SQL is set up correctly (i.e. allowing remote connections etc.)

Network interruptions between your server (your code) and SQL Server or a shutdown of SQL Server are the only possibilities for this.

2
5/2/2012 5:59:16 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow