2017-07-27 52 views
0

我將一組ssis包從2005升級到2008r2。相應的數據庫已經從sql2005升級到sql2014。這些軟件包從BIDS運行良好。但是,當我從新的SQL Server代理作業執行它們(我已經檢查了使用,32位運行時複選框),包失敗,錯誤消息從ssis2005升級到ssis2008r2的包不能從sql代理作業執行

Executed as user: ADMIN\SvcSQL13DVMDDEW03. Microsoft (R) SQL Server Execute Package Utility Version 10.50.6000.34 for 32-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 11:57:06 Error: 2017-07-27 11:57:08.96 Code: 0xC0209302 Source: CBSBankRec50244961Transform Connection manager "TempRBGLINT" Description: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider SQLNCLI10.1 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: 2017-07-27 11:57:08.97 Code: 0x00000008 Source: Check Database Connection Description: The script returned a failure result. End Error Error: 2017-07-27 11:57:24.55 Code: 0xC0202009 Source: CBSBankRec50244961Transform Connection manager "RBGLINT" Description: 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: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Named Pipes Provider: Could not open a connection to SQL Server [2]. ". End Error Error: 2017-07-27 11:57:24.57 Code: 0xC00291EC Source: Log Package 'Started' Execute SQL Task Description: Failed to acquire connection "RBGLINT". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error Error: 2017-07-27 11:57:40.21 Code: 0xC0202009 Source: CBSBankRec50244961Transform Connection manager "RBGLINT" Description: 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: "Login timeout expired". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "Named Pipes Provider: Could not open a connection to SQL Server [2]. ". End Error Error: 2017-07-27 11:57:40.22 Code: 0xC00291EC Source: Log Package 'Failure' Execute SQL Task Description: Failed to acquire connection "RBGLINT". Connection may not be configured correctly or you may not have the right permissions on this connection. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:57:06 Finished: 11:57:40 Elapsed: 34.102 seconds. The package execution failed. The step failed.

在配置文件用於包裝的供應商是SQLNCLI10.1。在ssis包中有一個ole db連接管理器 - RBGLINT。僅供參考 - 它從sql本地客戶端\ oledb提供程序自動升級到sql本機客戶端\ ole db提供程序10.0。在連接管理器中。我不認爲這導致了這個問題。但僅供參考。

任何輸入?

+1

這些是從該錯誤的有用的部分:'請求OLE DB提供程序SQLNCLI10.1未註冊「和」命名管道提供程序:無法打開與SQL Server的連接「。在SQL 2014上運行SQL2008R2包奇怪 - 爲什麼不升級到SQL 2014? –

+0

@ Nick.McDermaid已經提煉出您需要關注的解決方案。他的問題爲什麼不升級到MS SQL 2014是一個好的選擇,但是,如果現在不在卡中,請查看代理作業正在運行的安全上下文。 – plditallo

+0

要確定上下文,請轉到SQL Server配置管理器 - > Sql Server服務,以確定哪些服務被記錄下。查看包的連接字符串「RBGLINT」以查看它是否是傳遞或特定的用戶/密碼組合。 – plditallo

回答

0

從您提供的主要錯誤的錯誤消息是:

The requested OLE DB provider SQLNCLI10.1 is not registered

從下面你的鏈接有2種方法來解決這個問題:

The requested OLE DB provider SQLNCLI10.1 is not registered

  1. 你需要要做的是打開連接管理器/連接字符串並編輯它以使用Native Client 11.0,這是默認使用SSIS 2014

  2. 另一種選擇是從2008年SSIS安裝安裝本機客戶端10.0: