Reputation: 131
I have an Access DB (part of Office 365) with extension (.accdb). This database is protected by a password. I'm trying to create a connection to this Access db in SSIS but it keeps failing when I do a "Test Connection".
I'm using the following provider in my connection:
But when I click "Test Connection", it fails.
I basically followed this link:
The error message is:
Test connection failed because of an error in initializing provider. Cannot open database. it may not be a database that your application recognizes or the file may be corrupt
Does anyone know why?
Thank you
Upvotes: 0
Views: 407
Reputation: 61
In Access, I get the error 3049: Cannot open database '' when I'm adding bulk records and specifically when these records have Access attachments. These attachments are stored as a byte array and may be rather numerous and each could be sizeable - a megabyte for a picture is not uncommon. When I exceed 2GB of Access database size, the error is 3049 and it can happen quite randomly.
Upvotes: 0
Reputation: 37313
The main error is:
Cannot open database. it may not be a database that your application recognizes or the file may be corrupt
So i don't think it is a password related error, it sounds like your database is corrupted. Try opening the database manually, run the Compact and repair process, and Save As new copy
Upvotes: 0