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

无法打开登录所请求的数据库 "toke333.com"。登录失败。

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

异常详细信息: System.Data.OleDb.OleDbException: 无法打开登录所请求的数据库 "toke333.com"。登录失败。

源错误:


行 52:             if (conn.State == ConnectionState.Closed)
行 53:             {
行 54:                 conn.Open();
行 55:             }
行 56:             else if (conn.State == ConnectionState.Broken)

源文件: d:\wwwroot\toke333.com\App_Code\mdb.cs    行: 54

堆栈跟踪:


[OleDbException (0x80004005): 无法打开登录所请求的数据库 "toke333.com"。登录失败。]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +334
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +92
   System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +24
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) +38
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +531
   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.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +19
   System.Data.OleDb.OleDbConnection.Open() +43
   mdb.ExecuteScalar(String cmdText, CommandType ct) in d:\wwwroot\toke333.com\App_Code\mdb.cs:54
   brandcopy.GetTotalPage(String idname, Int32 id) in d:\wwwroot\toke333.com\brandcopy.aspx.cs:49
   brandcopy.GetProducts() in d:\wwwroot\toke333.com\brandcopy.aspx.cs:97
   brandcopy.Page_Load(Object sender, EventArgs e) in d:\wwwroot\toke333.com\brandcopy.aspx.cs:30
   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.4075.0
星网提供极速打包下载整站服务,包修改内容,图片,30分钟左右,您要的站就展现在您的面前,节省您的大量时间和精力。欢迎咨询QQ:6677591。