问题描述
是否可以导入MS Access.如果我没有安装MS Access,将mdb文件转换为SQLExpress吗?我问的原因是因为尝试使用SQL Management Studio中的导入向导来执行此任务时出现以下错误:
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."
推荐答案
如果.mdb文件已通过用户级安全性加密,则需要向SQL Server导入向导提供
If the .mdb file is encrypted with user-level security then you need to provide the SQL Server import wizard with
- 用于连接数据库的用户名和密码,以及
- 工作组信息文件(.mdw)的位置
在SQL Server导入向导中,单击高级"按钮...
In the SQL Server import wizard, click the "Advanced" button...
...,然后在连接"标签上
... and then on the "Connection" tab
- 取消选中空白密码"
- 选中允许保存密码"
- 输入用户名"和密码"
在所有"选项卡上,选择"Jet OLEDB:System数据库"属性,然后单击编辑值..."按钮...
On the "All" tab, select the "Jet OLEDB:System database" property and click the "Edit Value..." button...
...然后输入关联的.mdw文件的完整路径
...then enter the full path to the associated .mdw file
保存更改后,您应该可以照常继续进行到SQL Server的导入.
After saving the changes you should be able to proceed with the import to SQL Server as usual.
这篇关于SQL Server导入向导“工作组信息文件"导入Access .mdb时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!