A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Server Error in '/' Application.

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +578
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +84
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +1649271
   System.Data.SqlClient.SqlConnection.Open() +258
   EF.Frameworks.Common.DataEF.SqlClientEF.SqlConnectionManager.EnsureConnection(SqlConnection conn, SqlConnectionStringBuilder cs, Boolean& opened_out) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\DataEF\SqlClientEF\SqlConnectionManager.vb:432
   EF.Frameworks.Common.DataEF.SqlClientEF.SqlConnectionManager.EnsureConnection(SqlConnection conn, IConfigurationContext cc, Boolean& opened_out) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\DataEF\SqlClientEF\SqlConnectionManager.vb:451

[EFException: Failed to open connection for context EFLanguage.EFCom.Zeus.Sessions.ZeusSessionModuleData. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   EF.Frameworks.Common.DataEF.SqlClientEF.SqlConnectionManager.EnsureConnection(SqlConnection conn, IConfigurationContext cc, Boolean& opened_out) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\DataEF\SqlClientEF\SqlConnectionManager.vb:454
   EF.Frameworks.Common.DataEF.SqlClientEF.SqlConnectionManager.CommandExecuteBase(SqlCommand cmd, IConfigurationContext cc, CommandExecuteTypes executeType) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\DataEF\SqlClientEF\SqlConnectionManager.vb:498
   EF.Frameworks.Common.DataEF.SqlClientEF.SqlConnectionManager.ExecuteReader(SqlCommand cmd, IConfigurationContext context) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\DataEF\SqlClientEF\SqlConnectionManager.vb:349
   EF.Frameworks.Common.PersistenceEF.Bob4.Sql.SqlLoader`2.LoadStates(ISqlKey key, LoadContext lc) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\PersistenceEF\Bob4\Sql\SqlLoader.vb:54

[SqlLoadException: The ZeusSessionModuleData with parameter(s) SessionId = 387da9dd-9e9d-4642-b13e-5e2f4ea55bcd, ModuleName = EFCountryCode could not be loaded. Failed to open connection for context EFLanguage.EFCom.Zeus.Sessions.ZeusSessionModuleData. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   EF.Frameworks.Common.PersistenceEF.Bob4.Sql.SqlLoader`2.LoadStates(ISqlKey key, LoadContext lc) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\PersistenceEF\Bob4\Sql\SqlLoader.vb:61
   EF.Frameworks.Common.PersistenceEF.Bob4.Sql.SqlLoader`2.LoadStates(IObjectKey key, LoadContext lc) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\PersistenceEF\Bob4\Sql\SqlLoader.vb:106
   EF.Frameworks.Common.PersistenceEF.Bob4.ObjectLoaderBase`2.LoadObjectRef(IUniqueObjectKey key, LoadContext lc) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\PersistenceEF\Bob4\ObjectLoaderBase.vb:31
   EF.Frameworks.Common.PersistenceEF.Bob4.ObjectLoaderBase`2.LoadObject(IUniqueObjectKey key) in C:\tfs\tfsapp\EF.Frameworks\Common\Code\Common\Common\PersistenceEF\Bob4\ObjectLoaderBase.vb:60
   EFLanguage.EFCom.Zeus.Sessions.ZeusSessionModuleDataPersistenceMgr.TryLoad(String sessionId, String moduleName, ZeusSessionModuleData& module_out) +78
   EFLanguage.EFCom.Zeus.Sessions.ZeusSession.GetModule(String name) +151
   EFLanguage.EFCom.Zeus.Contexts.PageContextModule.SaveContext(PageContext context, HttpContext httpContext) +189
   EFLanguage.EFCom.Zeus.Contexts.PageContextModule.OnEndRequest(Object sender, EventArgs e) +119
   EFLanguage.EFCom.Zeus.ZeusModule.Application_EndRequest(Object sender, EventArgs e) +501
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


Version Information: Microsoft .NET Framework Version:2.0.50727.4216; ASP.NET Version:2.0.50727.4223