【发布时间】:2016-12-20 10:13:26
【问题描述】:
我们尝试测试从保存在服务器共享路径上的 Excel 文件到SQL Table 的简单导入。
我为Excel 源文件97-2003 创建了Excel Connection Manager,选中了First row has column names。
我使用选定的表创建了OLEDB Destination,并映射了列。
很好很好,但是当我们运行包时抛出以下错误:
Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.
The AcquireConnection method call to the connection manager "Excel Connection Manager"
failed with error code 0xC0202009.
There may be error messages posted before this with more information on why the AcquireConnection
method call failed.
我们尝试了什么:
- 检查了对文件的访问权限
- 在包级别将
Delay Validation设置为 True - 重新创建
Excel Connection Manager - 部署包并在
Integration Services Catalogs内执行
【问题讨论】:
-
你有没有打开文件?
-
不,文件已关闭。
-
我想知道这是否是可怕的 64 位东西。尝试在 32 位模式下运行 BIDS:bidn.com/Blogs/ssis-basics-running-a-package-in-32-bit-mode
-
这就是诀窍!你能把它写成答案吗?
-
实际上我认为这可能是重复的
标签: sql excel ssis connection-string