Server Error in '/' Application.

SHUTDOWN is in progress.
Login failed for user 'pazintys'. Only administrators may connect at this time.

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: SHUTDOWN is in progress.
Login failed for user 'pazintys'. Only administrators may connect at this time.

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): SHUTDOWN is in progress.
Login failed for user 'pazintys'. Only administrators may connect at this time.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1428
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +163
   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) +180
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +422
   System.Data.SqlClient.SqlConnection.Open() +1347
   System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch(TTarget target, Action`2 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed) +1046
   System.Data.Entity.Infrastructure.Interception.DbConnectionDispatcher.Open(DbConnection connection, DbInterceptionContext interceptionContext) +473
   System.Data.Entity.SqlServer.<>c__DisplayClass1.<Execute>b__0() +19
   System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +234
   System.Data.Entity.Core.EntityClient.EntityConnection.Open() +306

[EntityException: The underlying provider failed on Open.]
   System.Data.Entity.Core.EntityClient.EntityConnection.Open() +534
   System.Data.Entity.Core.Objects.ObjectContext.EnsureConnection(Boolean shouldMonitorTransactions) +167
   System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction(Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess) +63
   System.Data.Entity.Core.Objects.<>c__DisplayClass47`1.<ExecuteFunction>b__45() +219
   System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute(Func`1 operation) +234
   System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction(String functionName, ExecutionOptions executionOptions, ObjectParameter[] parameters) +897
   Web.Models.Db.DraugasEntities.vietove_pagal_ip(String ip) in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\Db\Draugas.Context.cs:952
   Web.Models.LocationModel.GetByIp(String ip) in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\LocationModel.cs:468
   Web.SessionUser..ctor() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\SessionUser.cs:75
   Web.Models.AnonymousSessionUser..ctor() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\AnonymousSessionUser.cs:19
   Web.SessionUser.GetAnonymSessionUser() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\SessionUser.cs:1610
   Web.SessionUser.get_Current() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Models\SessionUser.cs:1554
   Web.Controllers.BaseController..ctor() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Controllers\BaseController.cs:48
   Web.Controllers.MembersController..ctor() in d:\CruiseControl.NET\checkout\MobilePazintysDemo\Web\Controllers\MembersController.cs:23

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +190
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +100
   System.Activator.CreateInstance(Type type) +12
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +78

[InvalidOperationException: An error occurred when trying to create a controller of type 'Web.Controllers.MembersController'. Make sure that the controller has a parameterless public constructor.]
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +245
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +219
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +112
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3359
   System.Web.<>c__DisplayClass285_0.<ExecuteStepImpl>b__0() +41
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +155
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +2407


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