Parser Error: Child nodes are not allowed

Problem

This error occurred when starting or running your application:

Configuration Error

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.

Parser Error Message: Child nodes are not allowed.

This occurs when you attempt to run an application developed using .NET Framework 2.0 / 3.0 and your Microsoft IIS web server defaults to an earlier version of the .NET Framework.

Solution

Step 1:  Install the .NET Framework 2.0 / 3.0 if it is not installed already on your system.  This may be the case when you are deploying an application into a production environment.

Step 2:  Start the Microsoft IIS web server, choose “Default Web Site” and select your virtual directory.

Step 3:  Right-click on the virtual directory and choose “Properties”.  Choose the ASP.NET tab and change the ASP.NET version to 2.0.  Click the “Apply” button and refresh your Microsoft IIS web server.

Step 4:  Run your application.

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages