IIS 7 and Above
Editing custom configSection using IIS Configuration Editor
Last post May 11, 2011 07:11 AM by Lloydz
May 06, 2011 10:18 PM|VictorNow|LINK
I have a following section in my app web.config file:
I also created a new file and added it into IIS schema folder with a following content:
If I remove the section declaration from site web.config file then error disappears and I can edit values in config section, but site site no longer rendering giving configuration error.
How can I resolve this problem?
IIS7 - General
May 11, 2011 07:11 AM|Lloydz|LINK
It seems ASP.NET doesn't detect it as a valid section. Could you please try either of the following options to see if this address the issue:
• When configure the settings in Configuration Editor, click the "From" dropdown list, select ApplicationHost.config with location path of your site.
• Define the section under system.webServer node.
Hope this helps, thanks.