Server Error in '/' Application.

The specified network name is no longer available

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.ComponentModel.Win32Exception: The specified network name is no longer available

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:


[Win32Exception (0x80004005): The specified network name is no longer available]

[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.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1411
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +167
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +390
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +307
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +198
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +422
   System.Data.SqlClient.SqlConnection.Open() +3027
   NPoco.Database.OpenSharedConnectionImp(Boolean isInternal) +228
   NPoco.Database.BeginTransaction(IsolationLevel isolationLevel) +36
   Umbraco.Core.Scoping.Scope.get_Database() in D:\a\1\s\src\Umbraco.Core\Scoping\Scope.cs:243
   Umbraco.Core.Persistence.Repositories.Implement.LanguageRepository.PerformGetAll(Int32[] ids) in D:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\LanguageRepository.cs:52
   Umbraco.Core.Cache.FullDataSetRepositoryCachePolicy`2.GetAllCached(Func`2 performGetAll) in D:\a\1\s\src\Umbraco.Core\Cache\FullDataSetRepositoryCachePolicy.cs:166
   Umbraco.Core.Persistence.Repositories.Implement.LanguageRepository.GetDefault() in D:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\LanguageRepository.cs:309
   Umbraco.Core.Persistence.Repositories.Implement.LanguageRepository.GetDefaultIsoCode() in D:\a\1\s\src\Umbraco.Core\Persistence\Repositories\Implement\LanguageRepository.cs:297
   Umbraco.Core.Services.Implement.LocalizationService.GetDefaultLanguageIsoCode() in D:\a\1\s\src\Umbraco.Core\Services\Implement\LocalizationService.cs:329
   Umbraco.Web.PublishedCache.DefaultCultureAccessor.get_DefaultCulture() in D:\a\1\s\src\Umbraco.Web\PublishedCache\DefaultCultureAccessor.cs:24
   Umbraco.Web.UmbracoContextFactory.CreateUmbracoContext(HttpContextBase httpContext) in D:\a\1\s\src\Umbraco.Web\UmbracoContextFactory.cs:62
   Umbraco.Web.UmbracoContextFactory.EnsureUmbracoContext(HttpContextBase httpContext) in D:\a\1\s\src\Umbraco.Web\UmbracoContextFactory.cs:81
   Umbraco.Web.UmbracoInjectedModule.BeginRequest(HttpContextBase httpContext) in D:\a\1\s\src\Umbraco.Web\UmbracoInjectedModule.cs:80
   Umbraco.Web.UmbracoInjectedModule.<Init>b__18_1(Object sender, EventArgs e) in D:\a\1\s\src\Umbraco.Web\UmbracoInjectedModule.cs:380
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1361


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0