Solved

SSIS deployment validation

Posted on 2014-09-17
3
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

696 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