Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I make program with access database and after I finish I decided to protect Access database with password

I save project and close all windows and delete database and dataset (for unprotected data base) then add the same data base (after I protect it with password)

all thing done right when i run project error message shown (Password is not valid) in adapter

What I can do ?

Note : I add data base

Data > Add New data source >New connection > select data base and insert password and check save password > OK >choose include password and when I test connection it is Successfully
When I execute equerry it is Successfully
Posted
Updated 22-Jan-13 5:13am
v2
Comments
Sandeep Mewara 22-Jan-13 11:15am    
What is your connection string?
PIEBALDconsult 22-Jan-13 11:16am    
Access allows a database-wide password -- I think this is what you are talking about. If so, you need to specify it in the connection string -- Jet OLEDB:Database Password=MyDbPassword;
This is not the same as the user Password.

http://connectionstrings.com/access

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900