?
Solved

SSIS deployment validation

Posted on 2014-09-17
3
Medium Priority
?
332 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 2000 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

770 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