Web.Config Encryption Decryption

Posted by Mdjack under ASP.NET on 10/24/2012 | Points: 10 | Views : 706 | Status : [Member] | Replies : 0
Hi Friends,

using the Deployment installation package i publish the website in my machine with encrypted config files, and i export the website and imported into another machine that is also success.
When i decrypt the configuration file from imported machine using the following command.

c:\windows\Microsoft.NET\Framework64\v4.0.30319> aspnet_regiis -pdf "connectionString" "<Configuration file path>"

The above command is execute successfully in my machine, But website imported machine configuration file is not decryption. for encryption i am using the RsaProtectedConfigurationProvider

Can any one give me how can Encryption and Decryption with all the machine.



(No response found.)

Login to post response