EchoAlertcom
IS-IT--Management
Can anyone help with this please?
I am having trouble connecting to a db on our server. It works when I put the .asp page and db on my workstation.
I have checked NTFS Permissions, IIS Permissions, I have tried in different directories, I have tried using a DSN nothing works. Any suggestions?
The error is:
I am having trouble connecting to a db on our server. It works when I put the .asp page and db on my workstation.
I have checked NTFS Permissions, IIS Permissions, I have tried in different directories, I have tried using a DSN nothing works. Any suggestions?
The error is:
Code:
Microsoft JET Database Engine error '80004005'
Unspecified error
/wap/test5.asp, line 5
Code:
<html><head></head><body>
<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "d:\web\wap\waptest.asp"
set rs=Server.CreateObject("ADODB.recordset")
rs.Open "Select * from TestTable", conn
for each x in rs.fields
response.write(x.name)
response.write(" = ")
response.write(x.value) & "<br>"
next
rs.close
conn.close
%>
</body></html>