ASP怪异未指定的错误 - 80004005 [英] ASP Weird Unspecified Error - 80004005

查看:145
本文介绍了ASP怪异未指定的错误 - 80004005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个已经取得网站上的工作,只是增加了一些小的模块

I had to work on an already made website, just adding some small module

而我在更新,有许多文件在不同的子文件夹名为MYDB.MDB
我想确保我的应用程序连接正确的数据库
所以我开始在这些子文件夹的一个子文件夹重命名...,我刷新,主站点和矿山停止工作。

While i was updating, there was many files called myDB.mdb in the different subfolders i wanted to make sure that my app is connecting the right database so i started renaming subfolder...at one of those subfolders, i refreshed,the main site and mine stopped working

我改名回到正确的名称... ...刷新刷新刷新... ..我仍然令人耳目一新,我开始另一个浏览器..这是给连接问题:•

i renamed back to the correct name.. refresh... refresh... refresh.. i am still refreshing and i started another browser.. it is giving a connection problem :S

提供程序错误80004005

Provider error '80004005'

未指定的错误

/new/conn.asp,13号线

/new/conn.asp, line 13

关于他的任何想法:•
将AP preciate任何帮助!

any idea about his :S would appreciate any help !

推荐答案

我有同样的问题。我第一次加载一个网页,效果不错,但如果我再次快速加载的页面,然后我得到这个错误。如果我等了一会儿,然后我没有得到这个错误。那一定是因为当你调用objConnection.Close它需要一些时间来真正关闭MDB文件,所以如果你试图再次打开它你会得到文件已在使用类型的错误。奇怪的是增加一个模式来连接整理这个问题了我。它没有为只读,读/写作品,以及

I have had the same problem. The first time I loaded a page it worked well, but if I loaded the page again quickly, then I got this error. If I waited for a while then I didn't get the error. It must be because when you call objConnection.Close it takes some time to actually close the mdb file, so if you try and open it again you get the "File already in use type error". Strangely adding a mode to the connection sorted this problem out for me. It doesn't have to be read only, read / write works as well.

objConnection.Mode = 1 ' read only

这篇关于ASP怪异未指定的错误 - 80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆