jonathanfrascella
Programmer
Apologies if this should be in an ASP forum, I wasn't sure so I tossed a coin and "Access Other.." won.
I've got an Access DB which I'm trying to connect to via an ASP page. The DB has a password, but no username and opens fine locally - it prompts me for a password, then opens the DB.
When I use the following connection string I get a "Could not find installable ISAM" error.
I've updated both the server and my client machines to run MDAC 2.7 and everything else runs fine. I can connect to a copy of the same DB with the password removed, but for my purposes I need to connect to the protected version.
I've got an Access DB which I'm trying to connect to via an ASP page. The DB has a password, but no username and opens fine locally - it prompts me for a password, then opens the DB.
When I use the following connection string I get a "Could not find installable ISAM" error.
Code:
<%
Set oConn = Server.CreateObject("ADODB.Connection")
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("data/myDB.mdb") & ";UID=;PWD=myPassword"
oConn.Open strConn
%>
I've updated both the server and my client machines to run MDAC 2.7 and everything else runs fine. I can connect to a copy of the same DB with the password removed, but for my purposes I need to connect to the protected version.