2015-06-01 36 views
0

我有一個簡單的SSIS包,它有一個excel源轉儲SQL表中的數據。 手動運行時,它在BIDS中正常工作。 從我的本地ASP.NET應用程序調用時,它也可以工作。在IIS服務器上使用excel源失敗的SSIS包

當同一ASP.NET應用程序部署IIS服務器上它給我以下錯誤:

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 
+0

可能是連接或權限。 –

回答

0

通常,當一個包BIDS和集成服務運行,但無法爲作業或從外部應用程序調用的時候,它是一個權限與SSIS代理關聯的問題。在ASP.NET應用程序中應用的默認登錄也應該設置在憑證中,然後該憑證應該應用於具有應用SSIS子系統權限的代理。

應用在以下鏈接中列出的步驟:

http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/

+0

但我沒有得到管理員/訪問問題。我已編輯我的問題,包括錯誤日誌。這是關於Excel COnnection經理問題。我使用xml配置與存儲的憑據,我也啓用使用32位運行時已在互聯網上的大多數地方建議。請建議。 – Richa

+0

聽起來好像數據庫服務器上當前存在的IIS服務器中缺少連接所需的組件或權限。 Excel是否安裝在IIS服務器上?我懷疑它安裝在成功運行BIDS和ASP.NET代碼的數據庫服務器上? – user3662215

+0

另外,請查看以下鏈接:http://www.roelvanlisdonk.nl/?p=2099 – user3662215

相關問題