Hi,
I just read and tried to follow the instructions in the post entitled "Encrypt and Decrypt Connection String in App.Config file". I keep getting the error "Failed to encrypt the section 'connectionStrings' using provider 'RsaProtectedConfigurationProvider'. Error message from the provider: Object already exists."
Although I haver been trying for several days to get this to work, I am even getting the error on app.config files in projects that I have never tried to encrypt.
What am I doing wrong?
Thanks,
Gretchen
OK, I finally got it working.
The answer was to use a customProvider (not sure why that works, but it does).
This is the link to where I found the answer.
http://www.codeproject.com/Tips/877258/How-to-Encrypt-Web-config-Using-aspnet-regiis-exe
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.