产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

System.Data.OleDb.OleDbException: 未指定的错误解决方法 [复制链接]

1#
此错误主要针对ACCESS数据库,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: 未指定的错误

解决办法:
解决方法:使用Access里的“工具->数据库实用工具->压缩和修复数据库”来修复数据库。修复前请最好先重启IIS。
分享 转发
TOP
2#

出错界面如下:
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) +1054753
   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
   PageAdmin.lanmu.Page_Load(Object sender, EventArgs e) +646
   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
 这个问题如何解决呢,非常感谢!
TOP
3#

楼主的错误我一般重启IISok。
TOP
发新话题 回复该主题