老是提示注册表关键字的问题 ,我真无语了!微软的东西就是垃圾啊,!!!望
望各为高手,不吝指教!
下面是错误提示:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80004005'
[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0x5f0 Thread 0x123c DBC 0x16ebfc4 Jet'。
/asp/getdata.asp,行 15
<%response.buffer=true%>
<%
dim cname,addr,name,tel,fax,email,neirong
cname=request.form("cname")
addr=request.form("addr")
name=request.form("name")
tel=request.form("tel")
fax=request.form("fax")
email=request.form("email")
neirong=request.form("neirong")
if cname<>"" and addr<>"" and name<>"" and tel<>"" and fax<>"" and email<>"" and neirong<>"" then
dim db,sql
set db=server.createobject("adodb.connection")
db.connectionstring="dbq="&server.mappath("webdata.mdb")&";driver={microsoft access driver (*.mdb)}"
db.open
sql="insert into dingdan(cname,addr,name,tel,fax,email,neirong) values('"&cname&"','"&addr&"','"&name&"','"&tel&"','"&fax&"','"&email&"','"&neirong&"')"
db.execute(sql)
end if
response.redirect"../wldingdan.html"
%>