I have been able to encrypt other sections of the Web.config file, but this section continues to throw an error stating, "The configuration section 'system.web/membership/providers' was not found."
Is it possible to encrypt this section of the Web.config file?
- The section exists
- I have checked MSDN and related forums
- I googled for many-a-moons
- I am using aspnet_regiis.exe to do the encryption programmatically by spawning a process in a C# console application.
Process proc = new Process();
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.FileName = ASPNET_REGIIS;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
... more code ...