Are you getting “Not
a valid password” error message while opening password protected MS
access database? You get frustrated because MS access didn't taking
correct password. In this post I will demonstrate why you are getting
this error? And how you can resolve this
problem?
Cause of
the Problem: This error occurs when
your password ends with backslash (\). Due to some unknowns reasons
this error message pop up whenever you try to open ms access database
with password which ends with backslash.
You can verify this error
by following below written procedure.
- Start MS access.
- Create new database with name sample.mdb.
- Now navigate Tools > Security > Set Database Password.
- Write 123456\ (your selected password ends with backslash “\”) in password and verify box.
- Click OK.
- Now open this sample.mdb database and write 123456\ in password box and hit OK. You will get error “Not a valid password” error message.
Once you
have verified that you are getting same error and reason is password
ends with backslash. Now question remains how to remove or reset
access database password?
In this case you
know exact password but cannot access your file with it so access
password recovery tools are not useful for you. Basically you want
access of your important data right? You
can import data from password-protected access database to newly
created database.
Below written steps will
help you to import data........
Note: This
procedure need to reference the
Microsoft DAO 3.6 Object Library.
- Start MS access database.
- Create new database importDB.mdb.
- In the Database window, click Modules, and then click New.
- Type code written in the following image. Please download image and zoom it for clear visibility.
- Replace
with actual password of your database in the following code. - Now in the View menu, click Immediate Window.
- In immediate windows write following command and press Enter. ?ImportDb("
")
If you follow each
step correctly then this code will run successfully and your whole
data will import to new database importDB.mdb. Because this database
is not password-protected so you can access your valuable data.
No comments:
Post a Comment