异常详细信息: System.Data.SqlClient.SqlException: 用户 'qgyyz4@882' 登录失败。
源错误:
执行当前 Web 请求期间生成了未经处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。 堆栈跟踪: [SqlException (0x80131904): 用户 'qgyyz4@882' 登录失败。]System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +353System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +118System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +268System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +315System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +128System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +265System.Data.SqlClient.SqlConnection.Open() +133YiYaoShuJu.DAL.DBHelper.PrepareCommand(SqlCommand cmd, SqlConnection conn, SqlTransaction trans, CommandType cmdType, String cmdText, SqlParameter[] cmdParms) +126YiYaoShuJu.DAL.DBHelper.GetDataSet(CommandType cmdType, String cmdText, SqlParameter[] commandParameters) +200YiYaoShuJu.DAL.DBHelper.GetDataSet(String cmdText, SqlParameter[] commandParameters) +78YiYaoShuJu.DAL.DataDAL`1.GetEntityListBySQL(String strSQL, SqlParameter[] commandParameters) +99YiYaoShuJu.Controllers.HomeController.DataDetails() +16522lambda_method(Closure , ControllerBase , Object[] ) +87System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35System.Web.Mvc.Async.c.b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +69System.Web.Mvc.Async.c__DisplayClass11_0.b__0() +80System.Web.Mvc.Async.c__DisplayClass11_2.b__2() +396System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42System.Web.Mvc.Async.c__DisplayClass3_6.b__4() +50System.Web.Mvc.Async.c__DisplayClass3_1.b__1(IAsyncResult asyncResult) +188System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38System.Web.Mvc.c.b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState) +29System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38System.Web.Mvc.c.b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState) +43System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158 版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4075.0