Visual Studio部署时出现此连接错误问题的解决方法
Failed to decrypt protected XML node “DTS:Password” with error 0x8009000B “该项不适于在指定状态下使用。”. 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.
第一步:右键项目包,点击“属性”
第二步:将“PROTECTION LEVEL”改为“不保存敏感数据”
第三步:将所需要的数据库连接上
第四步:再将“PROTECTION LEVEL”改回“使用密码加密敏感数据”,然后即可部署