
02-03-2004, 08:33 AM
|
|
Newcomer
|
|
Join Date: Feb 2004
Posts: 17
|
|
Quote: Originally Posted by jmss66 I did try your connection string. I took out the Persist security info since this is the only thing different between you connection string and mine. I still get the error message invalid password. I swear I did not do a typo on the password. I still do not understand why it is working for you when I even copied your connection string to my program so there won't be any typing error.
Thanks,
Judy
I finally figured out what I was doing wrong. I am passing my password as a variable which I should not.
Wrong way
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & myPath & ";Jet OLEDBatabase Password=" & myPassword
Correct Way
Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & myPath & ";Jet OLEDBatabase Password=myPassword"
It was right in front of my eyes and it took me half a day to figure it our. Oh well...
Thanks for your help.
|
|