2014-02-06 63 views
6

當我在SSIS數據流組件中使用SQL Server Native Client 10時出現通信鏈接錯誤。DTS_E_OLEDBERROR。錯誤代碼:0x80004005.Sql服務器的SQl本機客戶端和oledb提供程序之間的差異

Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Communication link failure".An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "TCP Provider: The specified network name is no longer available.

所以我從SQL Server Native Client的10改爲微軟OLEDB提供程序SQL Server,希望它運行良好。這次出現如下錯誤:

[Transacn_Tbl1[737]] Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft OLE DB Provider for SQL Server" Hresult: 0x80004005 Description: "Unspecified error occurred on SQL Server. Connection may have been terminated by the server.".

[Transacn_Tbl1[737]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Destination Input" (750)" failed because error code 0xC020907B occurred, and the error row disposition on "input "OLE DB Destination Input" (750)" specifies failure on error. An error occurred on the specified object of the specified component. There may be error messages posted before this with more information about the failure.

這2個提供者有什麼區別?我應該使用哪一個?

回答

0

看起來您必須解決此問題,您必須更改SQL Server代理服務啓動帳戶的Temp目錄的權限。爲此目錄授予對SQL Server Agent代理帳戶的讀取權限和寫入權限。

http://support.microsoft.com/kb/933835

+0

嗨,我沒有使用SQL Server代理 – user1254579

+0

SQL Server配置管理器> SQL Server網絡配置>協議<您的服務器名稱>協議>點擊> TCP/IP>雙擊TCP/IP> IP地址>全部啓用爲「是」>應用>確定 – Maverick

+2

有時您需要做的是保存項目。關閉BIDS/SSDT,然後打開並嘗試查看是否有錯誤。如果你沒有看到錯誤嘗試運行,它可以很好地工作。 – Maverick

相關問題