remacgregor
11-06-03, 09:10 PM
Please help! I am trying to create an ASP with a DSN-less ADO connection to a MS Access database located in the root folder on a Linux server. I am pretty sure the following code is correct...
Set adoCon = Server.CreateObject("ADODB.Connection")
adoCon.Open "Driver={Microsoft Access Driver (*.mdb)}; Dbq=" & Server.MapPath("guestbooktest.mdb") (line 18)
...but it returns the follwing error...
ADODB.Connection.1 error '800a0bb9'
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
/index.asp, line 18
When I use Response.Write Server.MapPath("guestbooktest.mdb"), the correct path is returned. My web host said that the coding might be different since it is a Linux server, but I can't find any other Linux-specific coding that might work. Any suggestions would be greatly appreciated. Thanks.
Set adoCon = Server.CreateObject("ADODB.Connection")
adoCon.Open "Driver={Microsoft Access Driver (*.mdb)}; Dbq=" & Server.MapPath("guestbooktest.mdb") (line 18)
...but it returns the follwing error...
ADODB.Connection.1 error '800a0bb9'
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
/index.asp, line 18
When I use Response.Write Server.MapPath("guestbooktest.mdb"), the correct path is returned. My web host said that the coding might be different since it is a Linux server, but I can't find any other Linux-specific coding that might work. Any suggestions would be greatly appreciated. Thanks.