【发布时间】:2015-06-01 10:18:30
【问题描述】:
我有一个简单的 SSIS 包,它在 SQL 表中有一个 excel 源转储数据。 手动运行时,它在 BIDS 中运行良好。 从我本地的 ASP.NET 应用程序调用时,它也可以工作。
当在 IIS 服务器上部署相同的 ASP.NET 应用程序时,它给了我以下错误:
The AcquireConnection method call to the connection manager "10.xxx.xx.xxx.<DB>.<User>" failed with error code 0xC0202009
注意: Run64bitRunTime 设置为 false,正如许多帖子中针对类似问题所建议的那样。
可能是什么问题?
运行包的 SQL 作业的错误日志:
SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". End Error Error: 2015-06-02 14:26:22.79 Code: 0xC020801C Source: Data Flow Task Excel Source [1] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209302. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: component "Excel Source" (1) failed validation and returned error code 0xC020801C. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2015-06-02 14:26:22.79 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 2:26:21 PM Finished: 2:26:22 PM Elapsed: 1.031 seconds. The package execution failed. The step failed.,00:00:01,0,0,,,,0
【问题讨论】:
-
可能是连接或权限。
标签: asp.net sql-server excel iis ssis