Server Error in '/' Application.

万博manbetx登录|体育

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.OleDb.OleDbException: 万博manbetx登录|体育

Source Error:


Line 39:         path = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + path;
Line 40:         conn = new OleDbConnection(path);
Line 41:         conn.Open();
Line 42:     }
Line 43:     public void close()

Source File: f:\website\hnwyw\App_Code\db.cs    Line: 41

Stack Trace:


[OleDbException (0x80004005): 尝试打开的数据库已经被机器 'WIN-NDC4M706C0N' 上的用户 'Admin' 以排它的方式打开。当数据库可使用后请再试一次。]
   System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +351
   System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +86
   System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +31
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +76
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +126
   System.Data.OleDb.OleDbConnection.Open() +43
   db.connect() in f:\website\hnwyw\App_Code\db.cs:41
   include_end.Page_Load(Object sender, EventArgs e) in f:\website\hnwyw\include\end.ascx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Control.LoadRecursive() +146
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


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