Forum Moderators: open
DBConn="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("\database\sharpeworldmusic.mdb")
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open "SELECT * From Calendar WHERE archive_event=1, DBConn", 1, 3
I'm getting an error on the RS.Open line. The error is:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
Does anyone have any idea what is wrong?
All I want to do is view the records from this database, not update them.
Thanks in advance for any help. This has been extremely frustrating.
I changed the recordset statement to:
Rs.Open "SELECT * From Calendar WHERE archive_event=1", DBConn, 1, 3
and no longer get that error, but now I get:
Unrecognized database format 'd:\path\database\sharpeworldmusic.mdb'.
from the line of code that reads:
DBConn="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("\database\sharpeworldmusic.mdb")
Any thoughts anyone?
[edited by: Xoc at 4:04 am (utc) on May 4, 2003]
There's a MSFT Known Issue on this due to recent changes in the jet engine to offer ANSI support for foreign languages: [support.microsoft.com ]