|
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x488 Thread 0x440 DBC 0xd162f14 Jet'。
/cehuashi/minglu/result.asp,行13
-----------------------
原代码如下:
<%
Set conn = Server.CreateObject("ADODB.Connection")
Response.write "Conn Create OK!"
Connstr="DBQ="+server.mappath("database/chinascheming/db/data.asp")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)}"
conn.Open connstr ‘这里有错
Response.write "Conn Open OK!"
SET Rs = Server.CreateObject("ADODB.Recordset")
Response.write "Rs Create OK!"
'Rs.Open "Select * From counters" , conn,1,3
Rs.Open "select NetNo,Name_CN,Sex,CradID,Ltd_Now,Tel_Now from list where NetNo='000000000'",conn,1,3
Response.write "Rs Open OK!"
%>
请教各位,该怎么解决?谢!
[em10] |
|