Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Import Wizard "workgroup information file" error when importing Access .mdb

Is it possible to import an MS Access. mdb file into SQLExpress if I do not have MS Access installed? Reason I ask is because I am getting the following error when attempting to use the Import Wizard in SQL Management Studio to perform this task:

"Test connection failed because of an error initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user."

like image 626
Klaus Nji Avatar asked Mar 19 '14 03:03

Klaus Nji


Video Answer


2 Answers

If the .mdb file is encrypted with user-level security then you need to provide the SQL Server import wizard with

  1. the username and password to connect to the database, and
  2. the location of the Workgroup Information file (.mdw)

In the SQL Server import wizard, click the "Advanced" button...

Advanced.png

... and then on the "Connection" tab

  • un-check "Blank password"
  • check "Allow saving password"
  • enter the "User name" and "Password"

Connection.png

On the "All" tab, select the "Jet OLEDB:System database" property and click the "Edit Value..." button...

SystemDatabase.png

...then enter the full path to the associated .mdw file

MdwPath.png

After saving the changes you should be able to proceed with the import to SQL Server as usual.

like image 190
Gord Thompson Avatar answered Sep 20 '22 17:09

Gord Thompson


I just removed the database password and that worked for me.

like image 43
user3389034 Avatar answered Sep 22 '22 17:09

user3389034