Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: Access VB.NET
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 5:49am
Edited 22-Jan-13 6:13am
(no name)227K
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.

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

  Print Answers RSS
0 Dnyaneshwar@Pune 719
1 Sergey Alexandrovich Kryukov 325
2 Peter Leow 280
3 CPallini 245
4 TheRealSteveJudge 208
0 Sergey Alexandrovich Kryukov 8,963
1 OriginalGriff 6,766
2 Peter Leow 4,262
3 Zoltán Zörgő 3,769
4 Richard MacCutchan 2,588

Advertise | Privacy | Mobile
Web04 | 2.8.150128.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