我有3個SSIS包。第三個SSIS包中有兩個完美地工作。這是第二次的副本之一,除了改變連接字符串不斷拋出問題:無法將類型爲'System._COMObject'的COM對象轉換爲接口類型
Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D4E5AF42-7999-473C-8082-6EFC676953C4}' failed due to the following error: The application called an interface that was marshalled for a different thread. (Exception from HRESULT: 0x8001010E (RPC_E_WRONG_THREAD)).
已經這樣做自從我複製來的包了。我已經通過在線指南,並運行regsvr32 dts.dll,這表示它是成功的,但沒有任何改變。我仍然得到錯誤,爲什麼?
SSIS包似乎驗證我的容器,與其他兩個相比,這需要很長時間才能完成,然後在驗證中拋出上述錯誤消息後失敗。
我的第二個包是第三個不同連接字符串的副本,它工作正常。我將在明天創建一個新包,並將邏輯複製過來。乾杯。我會讓你知道它是如何變成 –
這並沒有解決我的問題 –