July 28, 2014 at 8:56 am
Hello,
I recently upgraded several SSIS packages from SQL 2005 - 2012 using the package upgrade wizard. All SSIS packages connect via config file. Whenever I run the package either in SSDT or from package execution I get the following error, but I believe that I made the proper changes in the config file. Does this have something to do with the upgrade process? Anyone have any ideas?
[Connection manager "ole"] Error: The requested OLE DB provider SQLNCLI.1 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
[Connection manager "ole"] Error: Consider changing the PROVIDER in the connection string to SQLNCLI11 or visit http://www.microsoft.com/downloads to find and install support for SQLNCLI.1.
Thanks in advance,
SQL-TG
The are no problems, only solutions. --John Lennon
July 28, 2014 at 9:08 am
The package upgrade wizard only upgrades the package, not the config file.
In this case, your config file is specifying a provider name that's no longer the correct version, so it's overriding the value in the package.
Two possible solutions:
1) Edit the package configuration and rather than exposing ConnectionString (which includes the driver details), expose ServerName, UserName, Password etc. instead.
2) Change the ConnectionString in the config file to reference the correct driver (SQLNCLI11)
July 28, 2014 at 12:41 pm
Thanks Howard. That worked!
The are no problems, only solutions. --John Lennon
July 29, 2014 at 8:31 am
Just in case anyone else is having the same issue....
I have .NET scripts that pass values into SSIS variables and provider information was also listed in those scripts. If you are having this issue check your scripts as well. For me, Provider information was in multiple places. Make sure you check all avenues.
Thanks
The are no problems, only solutions. --John Lennon
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply