Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I am getting the following e

Status
Not open for further replies.

new2unix

Programmer
Feb 5, 2001
143
US
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( &quot;ADODB.Connection&quot; )
Con.Open &quot;accessDSN&quot;
' Open Recordset
Set RS = Server.CreateObject( &quot;ADODB.Recordset&quot; )
RS.ActiveConnection = Con
RS.Open &quot;SELECT * FROM Products&quot;
' Loop through Recordset
WHILE NOT RE.EOF
Response.Write RS( &quot;product_name&quot; )
RS.MoveNext
WEND
%>

The database is an Access2K db and &quot;accessDSN&quot; is the System DSN. The server is a MS PWS on a NT Workstation. I checked the folder and db security permission and &quot;Everyone&quot; and IUSR_machinename both have full control. The db is on a local drive outside of folder.

Am I missing something else?

Thanks

Jen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top