N
Ngaire
I am trying to connect to a password secured access 2007 database from an asp
page using the folloowing string
dbconn=New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source="
& Server.Mappath("\fpdb\ContactDetailsP.accdb")&";Jet OLEDBatabase
Password=test;")
The password is correct - I can open the DB directly using it but this
connection fails with a password incorrect error. Any thoughts.
I tried removing the password and the connection string works fine.
Therefore I am presuming their is something wrong with the manner I can
passing the password or I need a User ID (which you do not set up in Access
2007)
page using the folloowing string
dbconn=New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source="
& Server.Mappath("\fpdb\ContactDetailsP.accdb")&";Jet OLEDBatabase
Password=test;")
The password is correct - I can open the DB directly using it but this
connection fails with a password incorrect error. Any thoughts.
I tried removing the password and the connection string works fine.
Therefore I am presuming their is something wrong with the manner I can
passing the password or I need a User ID (which you do not set up in Access
2007)