Click here to Skip to main content
13,052,696 members (70,016 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 22-Jan-13 4:49am
Updated 22-Jan-13 5:13am
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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100