Microsoft KB Archive/904800

= You receive an &quot;Error loading&quot; error message when you try to run an SQL Server 2005 Integration Services package in SQL Server 2005 =

Article ID: 904800

Article Last Modified on 5/10/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Express Edition
 * Microsoft SQL Server 2005 Standard Edition

-





SYMPTOMS
In Microsoft SQL Server 2005, when you try to run an SQL Server 2005 Integration Services (SSIS) package from inside Microsoft SQL Server 2005 Business Intelligence Studio or by using the SQL Server 2005 Execute Package Utility (Dtexec.exe) command-line tool, you receive the following error message:

Error loading : Failed to decrypt protected XML node &quot;PackagePassword&quot; with error 0x8009000B &quot;Key not valid for use in specified state.&quot;

You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.

Note The  placeholder is a placeholder for the name of the SSIS package that you are trying to run.

This behavior occurs when you try to run the SSIS package by using a different computer or a different user account than the computer and user account that were used to create the SSIS package.



CAUSE
This behavior occurs if the value of the ProtectionLevel property in the SSIS package is set to provide the maximum amount of protection for the Password property in the SSIS package. By default, the value of the ProtectionLevel property is set to EncryptSensitiveWithUserKey. The EncryptSensitiveWithUserKey value encrypts all the properties of the SSIS package that are considered sensitive, such as the Password property. When the same user account and the same computer that were used to create the SSIS package are used to run the SSIS package, the SSIS package automatically decrypts, and no error message is generated. However, when a different user account or a different computer is used to run the SSIS package, the EncryptSensitiveWithUserKey value of the ProtectionLevel property is engaged, and the Password property of the SSIS package remains encrypted. When this occurs, an error message is generated.



RESOLUTION
To resolve this behavior, change the value of the ProtectionLevel property in the SSIS package.



MORE INFORMATION
For more information, see the following topics in SQL Server Books Online:
 * Security Considerations for Integration Services
 * Setting the Protection Level of Packages

