Encrypt connection string with RsaProtectedConfigurationProvider
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I used encrypt method by using "RsaProtectedConfigurationProvider" in asp.net 2.0 and it encrypt my web connection string and works fine in my local server except this error: The 'RsaProtectedConfigurationProvider' attribute is not declared <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#"> it works fine in my local iis server and there is no problem , when i upload encrypted webconfig i get error: Failed to decrypt using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: The RSA key container could not be opened. Plz help me