Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
技术信息(用于支持人员)
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x1d8 Thread 0x87c DBC 0x111a024 Jet '。
/bbs/setup.asp, 第 4 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; POTU(1.13); Maxthon; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1)
网页:
GET /bbs/index.asp
时间:
2007年4月2日, 9:24:39
------解决方案--------------------改用OLEDB连接字符串试试
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & Server.MapPath( "数据库路径 ")
------解决方案--------------------Make sure that IUSR has write permission to both the directory holding the database file and to any temp directories being used. Make sure that the DSN connection string is actually pointed at the diretory you are working on!
Even if you thought these were set properly, a reboot or a security upgrade might have unset them. Check again.
Next, look into any other security blocks that may have been added. Have you added any antivirus or firewall software recently? Try turning it off and see if that helps. If it does, turn the software back on and then go into its configuration, and allow access to the directories in question.
------解决方案--------------------安装MDAC 2.8后尝试使用 leohuang 推荐的连接方式
conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " & Server.MapPath( "数据库路径 ")
------解决方案--------------------你用ODBC的DSN?
把代码拿来看看。
------解决方案--------------------借问声,你的是什么格式的系统?fat的还是ntfs的。。。还有就是的access数据库是不是只读?我同学碰到这个错误的时候叫我解决,搞个半死,后来发现他的系统是ntfs的,数据库的操作权限要自己分配。。。总之这个是非常常见的错误。。原因有很多的
------解决方案--------------------1 数据库路径错
2 没有访问权限