Click here to Skip to main content
11,706,142 members (51,531 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Access VB.NET
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 22-Jan-13 4:49am
kosay851.3K
Edited 22-Jan-13 5:13am
(no name)252.5K
v2
Comments
Sandeep Mewara at 22-Jan-13 11:15am
   
What is your connection string?
PIEBALDconsult at 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)

  Print Answers RSS
0 OriginalGriff 142
1 Sergey Alexandrovich Kryukov 137
2 ppolymorphe 71
3 Mika Wendelius 70
4 chainerlt 70
0 OriginalGriff 9,050
1 Sergey Alexandrovich Kryukov 8,417
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,636


Advertise | Privacy | Mobile
Web01 | 2.8.150819.1 | Last Updated 23 Jan 2013
Copyright © CodeProject, 1999-2015
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