Hi,
I am getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
/chp2/chp6/Display_Products.asp, line 4
Here is my codes:
<%
' Open Database Connection
Set Con = Server.CreateObject( "ADODB.Connection" )
Con.Open "accessDSN"
' Open Recordset
Set RS = Server.CreateObject( "ADODB.Recordset" )
RS.ActiveConnection = Con
RS.Open "SELECT * FROM Products"
' Loop through Recordset
WHILE NOT RE.EOF
Response.Write RS( "product_name" )
RS.MoveNext
WEND
%>
The database is an Access2K db and "accessDSN" is the System DSN. The server is a MS PWS on a NT Workstation. I checked the folder and db security permission and "Everyone" and IUSR_machinename both have full control. The db is on a local drive outside of folder.
Am I missing something else?
Thanks
Jen
I am getting the following error:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Disk or network error.
/chp2/chp6/Display_Products.asp, line 4
Here is my codes:
<%
' Open Database Connection
Set Con = Server.CreateObject( "ADODB.Connection" )
Con.Open "accessDSN"
' Open Recordset
Set RS = Server.CreateObject( "ADODB.Recordset" )
RS.ActiveConnection = Con
RS.Open "SELECT * FROM Products"
' Loop through Recordset
WHILE NOT RE.EOF
Response.Write RS( "product_name" )
RS.MoveNext
WEND
%>
The database is an Access2K db and "accessDSN" is the System DSN. The server is a MS PWS on a NT Workstation. I checked the folder and db security permission and "Everyone" and IUSR_machinename both have full control. The db is on a local drive outside of folder.
Am I missing something else?
Thanks
Jen