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

本文解决SSIS包从A服务器搬迁到B服务器后,因默认加密方式导致的运行错误问题。通过调整ProtectionLevel设置及使用密码保护,确保敏感数据在不同服务器间正确迁移。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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服务器上用此密码即可打开。

 

转载于:https://www.cnblogs.com/JinweiChang/p/10516760.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值