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.

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) +1316
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +108
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126
   System.Data.SqlClient.SqlConnection.Open() +125
   Sitecore.Data.DataProviders.Sql.DataProviderCommand..ctor(IDbCommand command, DataProviderTransaction transaction, Boolean openConnection) +68
   Sitecore.Data.DataProviders.Sql.<>c__DisplayClass4.<CreateCommand>b__3() +34
   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action, Action recover) +162
   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action) +67
   Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateCommand(String sql, Object[] parameters) +389
   Sitecore.Data.DataProviders.Sql.<>c__DisplayClass12.<CreateReader>b__10() +22
   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action, Action recover) +162
   Sitecore.Data.DataProviders.NullRetryer.Execute(Func`1 action) +67
   Sitecore.Data.DataProviders.Sql.SqlDataApi.CreateReader(String sql, Object[] parameters) +169
   Sitecore.Data.SqlServer.SqlServerClientDataStore.LoadData(String key) +421
   Sitecore.Configuration.ClientDataStore.LoadData() +34
   Sitecore.Configuration.ClientDataStore.Load() +11
   Sitecore.Configuration.ClientDataStore.GetCurrentValues(String key) +68
   Sitecore.Configuration.ClientDataStore.GetValue(String name) +87
   Sitecore.Configuration.ClientContext.GetValue(String name) +36
   Sitecore.Security.Accounts.User.get_RuntimeSettings() +111
   Sitecore.Security.Accounts.User.get_IsAdministrator() +34
   Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetSpecialAccess(ISecurable entity, Account account, AccessRight accessRight) +79
   Sitecore.Security.AccessControl.SqlAuthorizationProvider.GetAccessCore(ISecurable entity, Account account, AccessRight accessRight) +27
   Sitecore.Security.AccessControl.AuthorizationProvider.GetAccess(ISecurable entity, Account account, AccessRight accessRight) +134
   Sitecore.Security.AccessControl.AuthorizationManager.GetAccess(ISecurable entity, Account account, AccessRight accessRight) +78
   Sitecore.Security.AccessControl.AuthorizationManager.IsAllowed(ISecurable entity, AccessRight right, Account account) +62
   Sitecore.Security.AccessControl.ItemAccess.CanRead() +44
   Sitecore.Data.Managers.ItemProvider.ApplySecurity(Item item, SecurityCheck securityCheck) +66
   Sitecore.Data.Managers.ItemProvider.GetItem(ID itemId, Language language, Version version, Database database, SecurityCheck securityCheck) +139
   Sitecore.Data.Managers.ItemManager.GetItem(ID itemId, Language language, Version version, Database database) +89
   Sitecore.Data.Fields.MultilistField.GetItems() +126
   Digitaria.Web.Wkkf.Mvc.UI.Models.MasterModel..ctor() in d:\www\wkkf2013\www\htdocs\Models\MasterModel.cs:46
   Digitaria.Web.Wkkf.Mvc.UI.Controllers.LayoutController.Layout1() in d:\www\wkkf2013\www\htdocs\Controllers\Layout\Layout1.cs:25
   lambda_method(Closure , ControllerBase , Object[] ) +62
   System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +17
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +188
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
   System.Web.Mvc.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() +56
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +267
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +20
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +190
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +237