Posts

Showing posts with the label ms-access-2016

Cannot connect to password encrypted MS Access 2016 database using C#

Cannot connect to password encrypted MS Access 2016 database using C# When I try to connect to a MS Access 2016 database, it connects perfectly without password, but when I try to connect to the same database after encrypting it with a password, I get this error: Cannot open the database. It may not be a database that your application recognizes, or the file may be corrupt. I don't know what I should do - my database isn't corrupted, and I have to make it with a password. Is there a way to do it, or am I wrong in something? File extension is .accdb .accdb Screenshots: https://drive.google.com/open?id=1vhp7pID4iQ_zoc6ImWXoJDFQv10qNRRn https://drive.google.com/open?id=18QbuFhDU11YuYS-Pe1jxxIhtLPeff-lC post your connection string here – Sachith Jun 30 at 19:13 @Sachith i don't use connection string i...