首页 毕业设计案例 企业案例 项目设计文档 服务解答 毕业设计下载 留言板
重要通告:最近发现有人冒充我们星海工作室行骗,已经有个别同学上当受骗,我们在此特别
提醒同学们,我们工作室的官方客服QQ分别是:359374739,178807165 其他号码一概是骗子

位置: 首页>> 项目设计文档>> Access数据库出现0x8000400...

        本站推荐:买毕业设计 先移动充值 优惠多多

Access数据库出现0x80004005问题的解决方法

  
 


           Access数据库出现0x80004005问题的解决方法

           发布者: rain   发布日期:2008/9/21    浏览次数:2256 次
 
文章着重介绍了Access数据库出现0x80004005问题的解决方法,更多内容请参考下文:
   [OleDbException (0x80004005): Unspecified error]
   System.Data.OleDb.OleDbConnection.ProcessResults(Int32 hr) +20
   System.Data.OleDb.OleDbConnection.InitializeProvider() +57
   System.Data.OleDb.OleDbConnection.Open() +203
   Webb.WAVE.Controls.OleDBManager.FillDataTable(DataTable i_dataTable) +85
   Webb.WAVE.Controls.WaveExpire.LoadExpireDateForClient(DataTable i_table, Int64 i_clientID) +189
   Webb.WAVE.inc_Client_AccessManage.LoadExpireDate(String i_sortKey) +99
   Webb.WAVE.inc_Client_AccessManage.Page_Load(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Control.LoadRecursive() +98
   System.Web.UI.Page.ProcessRequestMain() +750
   说明一下:这个错误总会在运行一段时间后出现,而等一会工(不定多少时间),或者重新启动IIS或者服务器,这个问题就解决了。而再运行一会又会(时间越来越短)出现这个问题。
   而我在自己的电脑是运行时,基本上没出现这样的问题,于是反复的查找原因,不得其解,在MSDN里找到了三篇相关的文章:其中这一篇还有点道理:  SYMPTOMS
   When trying to connect to an Access .mdb file, an ODBC error is returned stating "Disk or Network Error". The Microsoft OLE DB Provider for the Microsoft Jet database engine may also return an "Unspecified error" (error code = 0x80004005) message.
   The problem can occur only when the data source is opened under the Microsoft Internet Information Server (IIS) or a Microsoft Windows NT service but not under a logged-on user account.CAUSE Jet creates a temporary file when the engine is started. In doing so, it first checks the TMP environment variable and uses that path to define where the temporary file is created. If it doesn't see a TMP environment variable, it looks for the TEMP environment variable. If TEMP is not defined, it then uses the Windows folder (\WINDOWS or \WINNT).
   If TMP/TEMP is defined but points to a nonexistent folder, the error occurs.
   Moreover, when opening the Access database through IIS or a Windows NT servi
常见问题 | 我要留言 | 添加到收藏
  [1]  [2]
推荐毕业设计案例
 
毕业指导文档
 
工作室简介 | 联系我们 | 购买流程
© 2008 XingHai Studio All Rights Reserved 浙ICP备11037994号-7
  业务咨询
在线客服
在线客服
☆付款需知
☆购买流程
☆订单下载