• Post Reply Bookmark Topic Watch Topic
  • New Topic

MS Access 97 password problem  RSS feed

 
John Martinson
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to connect to a MS Access 97 database that is password protected and I know the password and I enter it into my application correctly and I even open the data base thru access with no problem. But my application keeps telling me I have an invalid password.

Is there some sort of incompatable encrypting going on behind the scenes or is it just bad code?

John
 
Wei Dai
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> I'm trying to connect to a MS Access 97 database that is password
> protected and I know the password and I enter it into my application
> correctly and I even open the data base thru access with no problem.
> But my application keeps telling me I have an invalid password.
you should remove your password through MS Access manually, then try your code without password setting again. If you failed, you should check your code carefully. If you succeeded, you shoulc check whether you'r using UTF8 password.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!