Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when t

Question

SSIS包从A服务器搬迁到B服务器,运行报错

Description: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.".

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.  

 

Solution

SSIS包在A服务器创建,默认工程和包的属性ProtectionLevel是Encript sensitive data with user key,在搬到B服务器后敏感数据就打不开了(密码之类的),所以为了方便在A服务器上先修改工程和包的属性ProtectionLevel为Encript sensitive data with password并设置PackagePassword属性,之后搬到B服务器上用此密码即可打开。

 

posted @ 2019-03-12 15:02  JinweiChang  阅读(485)  评论(0编辑  收藏  举报