Oct 3, 2010 at 6:00 AM
Edited Oct 3, 2010 at 6:00 AM
I'm using EntLib 5.0 in Visual Studio 2010. I am having problem encrypting using the RsaProtectedConfigurationProvider. When I tried to save the config file, the follow error appeared.
The application could not save the configuration information to the configuration file. Please try to save the configuration to a different file.
Error message : An error occurred executing the configuration section handler for connectionStrings.
However, after I changed the protection provider to DataProtectionConfigurationProvider, I could save the config file successfully and verified that the contect was encrypted.
Any idea why this happened? What are the pre-requisites for using RsaProtectedConfigurationProvider?
When should one use DataProtectionConfigurationProvider over RsaProtectedConfigurationProvider and vice versa?