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=37; handshake=14965; ]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +345
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +156
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +258
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +312
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +202
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +413
   System.Data.SqlClient.SqlConnection.Open() +128
   NHibernate.Connection.DriverConnectionProvider.GetConnection() +210
   NHibernate.AdoNet.ConnectionManager.GetConnection() +84
   NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel) +434

[TransactionException: Begin failed with SQL exception]
   NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel) +726
   NHibernate.Impl.SessionImpl.BeginTransaction(IsolationLevel isolationLevel) +222
   Orchard.Data.TransactionManager.EnsureSession(IsolationLevel level) in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Data\SessionLocator.cs:123
   Orchard.Data.TransactionManager.GetSession() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Data\SessionLocator.cs:57
   Orchard.Data.Repository`1.get_Table() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Data\Repository.cs:27
   Orchard.Data.Repository`1.Fetch(Expression`1 predicate) in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Data\Repository.cs:147
   Orchard.Data.Repository`1.Get(Expression`1 predicate) in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Data\Repository.cs:88
   Orchard.Core.Settings.Descriptor.ShellDescriptorManager.GetShellDescriptor() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard.Web\Core\Settings\Descriptor\ShellDescriptorManager.cs:27
   Orchard.Environment.Features.FeatureManager.GetEnabledFeatures() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Environment\Features\FeatureManager.cs:49
   Advantage.Cider.Catalog.Services.GoogleAnalytics.GoogleAnalyticsCollection..ctor(IFeatureManager featureManager, IGoogleAnalyticsProductData googleAnalyticsProductData, IGoogleAnalyticsTransactionData googleAnalyticsTransactionData, IGoogleMeasurementProtocol googleMeasurementProtocol) +230
   lambda_method(Closure , Object[] ) +208
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +270

[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Orchard.Environment.Features.IFeatureManager, Advantage.Cider.Catalog.Services.GoogleAnalytics.IGoogleAnalyticsProductData, Advantage.Cider.Catalog.Services.GoogleAnalytics.IGoogleAnalyticsTransactionData, Advantage.Cider.Catalog.Services.GoogleAnalytics.IGoogleMeasurementProtocol)' on type 'GoogleAnalyticsCollection'. ---> Begin failed with SQL exception (See inner exception for details.)]
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +734
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +150
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +119
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +150
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +78
   System.Linq.Buffer`1..ctor(IEnumerable`1 source) +247
   System.Linq.Enumerable.ToArray(IEnumerable`1 source) +91
   Autofac.Features.Collections.<>c__DisplayClass4.<RegistrationsFor>b__0(IComponentContext c, IEnumerable`1 p) +211
   Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +35
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +35
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +108
   Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122
   Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
   Autofac.ResolutionExtensions.Resolve(IComponentContext context, IEnumerable`1 parameters) +120
   Advantage.Cider.Framework.Filters.CiderFilterProvider.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor) in C:\Agents\1\_work\1867\s\src\Work\src\Orchard.Web\Modules\Cider.Framework\Filters\CiderFilterProvider.cs:12
   System.Web.Mvc.FilterProviderCollection.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +165
   System.Web.Mvc.ControllerActionInvoker.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +55
   System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state) +243
   System.Web.Mvc.<>c.<BeginExecuteCore>b__152_0(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState) +45
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +163
   System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state) +789
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +163
   System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state) +633
   System.Web.Mvc.<>c.<BeginProcessRequest>b__20_0(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState) +99
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState) +73
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout) +163
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +544
   System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`4 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, Object state, TaskCreationOptions creationOptions) +824
   Orchard.Mvc.Routes.<<ProcessRequestAsync>b__0>d.MoveNext() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Mvc\Routes\ShellRoute.cs:182
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   Orchard.Owin.<<UseOrchard>b__0_0>d.MoveNext() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Owin\OrchardMiddleware.cs:17
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   Orchard.Mvc.Routes.<ProcessRequestAsync>d__5.MoveNext() in C:\Agents\1\_work\1867\s\src\Work\src\Orchard\Mvc\Routes\ShellRoute.cs:189
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
   System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128


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