Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parse Error Message: Unrecognized configuration section 'tagname'
This problem can also occur if the configuration section does not exist or if the configuration section handler is not defined.
Steps to Reproduce the Behavior
- Open the Machine.config file in Notepad. Machine.config is typically located in \WINNT\Microsoft.NET\Framework\<version number>\CONFIG\.
- Move the following <appSettings> code block so that it appears before the <configSections> section:
<add key="XML File Name" value="myxmlFileName.xml"/>
- Save your changes to Machine.config.
- View any existing .aspx page. You receive the above-mentioned error message.
- Move the <appSettings> code block to the end of Machine.config just before the </configuration> section, and save your changes to Machine.config.
- View an existing .aspx page. You no longer receive the error message.
ID articol: 311091 - Ultima examinare: 24 mar. 2009 - Revizie: 1