小编Dav*_*sta的帖子

包裹验证错误

我正在尝试使用 foreach 循环容器将几个 excel 文件导入到一个表中,我指定了文件夹和我要使用的文件 (*.xls),之后我创建了一个路径变量,然后我去了excel 源连接并在“表达式”属性中我选择了变量。我创建了 foreach 容器,但是,excel 源的 connectionString 只显示Provider=Microsoft.Jet.OLEDB.4.0;,所以这意味着它没有采用变量值。我能做些什么来解决这个问题?

注意:我使用的是 SQL Server 2012

附加信息:

Error at Data Flow Task [Excel Source [20]]: 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.

Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code …
Run Code Online (Sandbox Code Playgroud)

sql-server excel ssis business-intelligence sql-server-2012-datatools

2
推荐指数
1
解决办法
6万
查看次数