Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SSIS package config issue


SSIS package config issue

Author
Message
Lord Slaagh
Lord Slaagh
SSC-Enthusiastic
SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)

Group: General Forum Members
Points: 133 Visits: 376
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

_________________________________________________________________________- Everyone has a plan until they get punched in the mouth. --Mike Tyson
HowardW
HowardW
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1211 Visits: 9892
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)
Lord Slaagh
Lord Slaagh
SSC-Enthusiastic
SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)

Group: General Forum Members
Points: 133 Visits: 376
Thanks Howard. That worked!

_________________________________________________________________________- Everyone has a plan until they get punched in the mouth. --Mike Tyson
Lord Slaagh
Lord Slaagh
SSC-Enthusiastic
SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)SSC-Enthusiastic (133 reputation)

Group: General Forum Members
Points: 133 Visits: 376
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

_________________________________________________________________________- Everyone has a plan until they get punched in the mouth. --Mike Tyson
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search