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

隐身守侯 提交于 2019-12-01 01:35:42

问题


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."


回答1:


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...

... and then on the "Connection" tab

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

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

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

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




回答2:


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



来源:https://stackoverflow.com/questions/22495393/sql-server-import-wizard-workgroup-information-file-error-when-importing-acces

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!