Solved

SSIS deployment validation

Posted on 2014-09-17
3
290 Views
Last Modified: 2016-02-11
I asked a question in July because I was getting deployment errors. "Error: Failed to decrypt an encrypted XML node because the password was not specified or not correct. Package will attempt to load without the encrypted information." The package in the previous question ran fine after this error, because I learned later the package wasn't even using the connection string generating the error.

http://www.experts-exchange.com/Database/MS-SQL-Server/Q_28477521.html

Now I have another package that is using the connection strings in Connection Manager. This one generates the same error and will not work on the server.

If I uncheck the box "Validate package after installation", I can deploy to the server fine and everything seems to run fine. InsallationWizard.jpg
My question is: what exactly is this validating in the package and can I safely uncheck it during deployment. All of my searches show me how to use it, but I can't seem to find out why.

Thanks,
Jerry
0
Comment
Question by:Jerry Miller
  • 2
3 Comments
 
LVL 37

Accepted Solution

by:
ValentinoV earned 500 total points
ID: 40332038
The following page contains some info on that validation option: Step 2: Running the Package Installation Wizard

As you can read in 18, the checkbox causes the Package Validation page to appear.  On that page you'll get warnings about possible configuration issues.

For your error, what is the ProtectionLevel property set to?  That's a property on package level.  Best is to set this to DontSaveSensitive and then use package configuration to configure things like configuration strings.

Some reading material:
Understanding Integration Services Package Configurations
Package Configurations
0
 
LVL 18

Author Comment

by:Jerry Miller
ID: 40332741
I have the package set to EncryptSensitiveWithPassword as I do not have access on the SQL Server to save configuration files. It is difficult enough to get the DBA to allow SSIS, trying to get additional access is next to impossible.

If the checkbox only checks for possible configuration issues, I should be able to leave that checkbox unchecked as the package is validated during the build. I am simply unclear on what is being checked during validation and have not found any good documentation on the subject.

My best guess on why I get the error is that Visual Studio is encrypting with a different cipher strength or type than the SQL Server is using to decrypt during deployment. Which is odd because the package works fine once deployed.
0
 
LVL 18

Author Closing Comment

by:Jerry Miller
ID: 40336566
Since the package is being validated on build I know that the connection manager information is valid, so I am leaving the validation turned off during deployment. The main concern with leaving this feature off is that I would miss a true issue before I move it to the server. Hopefully the build validation catches the same issues. I would love to use the configuration file approach, but it is not possible in my current environment.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question