Reputation: 718
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?
Process proc = new Process();
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.FileName = ASPNET_REGIIS;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
... more code ...
Upvotes: 0
Views: 338
Reputation: 124726
system.web/membership/providers
is not a configuration section, it refers to an element within the System.Web.Configuration.MembershipSection section.
You need to encrypt the whole membership section.
Upvotes: 1