I am attempting to encrypt connection string values in the Web.Config file for an ASP.NET 2.0 web application, following the procedure described on MSDN. Using the RsaProtectedC
I followed the approach listed below when I had Bad Data
error while manual decryption.
Remove
and Clear
tags in configProtectedData
.–pri
was used while exporting keykeyContainerName="MyKeys"
CONFIG
REFERENCE