未指定的错误 .net2.0 ACCESS数据库

 很快的刷新几次后就出现这个情况,是因为数据库没正常关闭造成的么?

Server Error in '/' Application.

未指定的错误

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: 未指定的错误

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OleDbException (0x80004005): 未指定的错误]

            System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) +1054817

            System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) +53

            System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup) +27

            System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +47

            System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105

            System.Data.OleDb.OleDbConnection.Open() +37

            power.chklogin() +267

            power.chkpowerlogin() +6

            power.chktype(String powertype) +8

            admin_AAnn.Page_Load(Object sender, EventArgs e) +16

            System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15

            System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34

            System.Web.UI.Control.OnLoad(EventArgs e) +99

            System.Web.UI.Control.LoadRecursive() +47

            System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

            


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

你可能感兴趣的:(Access)