Server Error in '/' Application.

ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'web'.
ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]SHUTDOWN is in progress.
ERROR [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot continue the execution because the session is in the kill state.

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.Odbc.OdbcException: ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'web'.
ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]SHUTDOWN is in progress.
ERROR [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot continue the execution because the session is in the kill state.

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[OdbcException (0x80131937): ERROR [28000] [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'web'.
ERROR [42000] [Microsoft][ODBC SQL Server Driver][SQL Server]SHUTDOWN is in progress.
ERROR [HY000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot continue the execution because the session is in the kill state.]

[InvalidOperationException: The connection has been disabled.]
   System.Data.Odbc.OdbcConnection.ConnectionIsAlive(Exception innerException) +1112860
   System.Data.Odbc.OdbcConnection.HandleErrorNoThrow(OdbcHandle hrHandle, RetCode retcode) +334
   System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) +16
   System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) +1059
   System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) +68
   System.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior) +79
   System.Data.Odbc.OdbcCommand.ExecuteDbDataReader(CommandBehavior behavior) +10
   System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +12
   System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +140
   System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) +162
   System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) +111
   Megaline.UniFunc.ml_sql(String psql, Boolean parseTblName, Boolean catchException) +748
   Megaline.UniFunc.get_tablelist(String pschema) +549
   Megaline.UniFunc.upd_env(String pschema) +343
   ASP.global_asax.Session_Start(Object sender, EventArgs e) +122
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +10082212
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +165
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1126
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +297
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +163


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