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)]
   Nolics.ORMapper.DataProviders.SQLDataProvider.Open() +347
   Telerik.ManagerBase`1..ctor(String providerName) +86
   Telerik.DataAccess.NolicsHelper.SetConnection(String connectionName, String providerName) +1121
   Telerik.Cms.CmsManager..ctor() +22
   Telerik.Cms.Data.DefaultProvider.Initialize(String name, NameValueCollection config) +296
   Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +155
   Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings, Type providerType) +661
   System.Web.HttpApplication.InitModulesCommon() +124
   Telerik.ManagerBase`1.InstantiateProvider(ProviderSettings providerSettings) +104
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +399
   Telerik.ManagerBase`1.SetProvider(String providerName) +260
   Telerik.ManagerBase`1..ctor(String providerName) +86
   Telerik.Cms.CmsManager..ctor() +22
   Telerik.Cms.Web.CmsHttpModule.Init(HttpApplication context) +155
   System.Web.HttpApplication.InitModulesCommon() +124
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1162
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +196
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +312
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +133
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +196


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762