“/”应用程序中的服务器错误。

用户 'zjkan' 登录失败。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: 用户 'zjkan' 登录失败。

源错误:

行 422: using (SiteCmsDataContext db = new SiteCmsDataContext())
行 423: {
行 424: var temp = db.ClassInfo.Where(w => w.ClassId == classId).SingleOrDefault();
行 425: return temp;
行 426: }

源文件: d:\wwwroot\kan(2)\kan\App_Code\SiteClass.cs    行: 424

堆栈跟踪:

[SqlException (0x80131904): 用户 'zjkan' 登录失败。]
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +357
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +79
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +201
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +156
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +22
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +92
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +219
System.Data.SqlClient.SqlConnection.Open() +101
System.Data.Linq.SqlClient.SqlConnectionManager.UseConnection(IConnectionUser user) +43
System.Data.Linq.SqlClient.SqlProvider.get_IsSqlCe() +42
System.Data.Linq.SqlClient.SqlProvider.InitializeProviderMode() +22
System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) +58
System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute(Expression expression) +58
System.Linq.Queryable.SingleOrDefault(IQueryable`1 source) +220
SiteClass.getClassInfoDetail(Int32 classId) in d:\wwwroot\kan(2)\kan\App_Code\SiteClass.cs:424
Index.Page_Load(Object sender, EventArgs e) in d:\wwwroot\kan(2)\kan\prodetail.aspx.cs:16
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
System.Web.UI.Control.OnLoad(EventArgs e) +97
System.Web.UI.Control.LoadRecursive() +61
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.3928.0
雷电竞raybet伟德国际入口伟德国际入口
网站地图