Server Error in '/' Application.

The wait operation timed out

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 wait operation timed out

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 wait operation timed out]

[SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed while attempting to consume the pre-login handshake acknowledgement.  This could be because the pre-login handshake failed or the server was unable to respond back in time.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=14740; handshake=338; ]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1429
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +159
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +382
   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() +1347
   Umbraco.Core.Persistence.FaultHandling.<>c__DisplayClass1.<ExecuteAction>b__0() +19
   Umbraco.Core.Persistence.FaultHandling.RetryPolicy.ExecuteAction(Func`1 func) +402
   Umbraco.Core.Persistence.Database.OpenSharedConnection() +75
   Umbraco.Core.Persistence.<Query>d__1c`1.MoveNext() +106
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +463
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69
   Umbraco.Core.Persistence.Repositories.TemplateRepository.PerformGet(Int32 id) +217
   Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id) +100
   Umbraco.Core.Services.FileService.GetTemplate(Int32 id) +94
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindTemplate() +871
   Umbraco.Web.Routing.PublishedContentRequestEngine.FindPublishedContentAndTemplate() +294
   Umbraco.Web.Routing.PublishedContentRequestEngine.PrepareRequest() +102
   Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +389
   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.4494.0