Parser Error Message Section or group name system.web.extensions is already defined.

Posted By  dotnetfish On 13 Sep 2010 08:09:37
emailbookmarkadd commentsprint
No of Views:4362
Bookmarked:0 times
Votes:0 times

Introduction

When i work with asp.net, i'm facing below error in my development machine when i try to access to one of my application that running in ASP.NET framework 2.0.

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: Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level where it is defined.

Source Error:

Line 2:   Line 3:    Line 4:     Line 5:      Line 6:     

Source File: C:\Inetpub\wwwroot\xxxxx\web.config Line: 4

Show Additional Configuration Errors:

Section or group name 'scripting' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 5)
Section or group name 'scriptResourceHandler' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 6)
Section or group name 'webServices' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 7)
Section or group name 'jsonSerialization' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 8)
Section or group name 'profileService' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 9)
Section or group name 'authenticationService' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\formlookup_ajax2\web.config line 10)

Situation

In My IIS setting
My Default Web Site Location path point to an application that running asp.net framework 3.5
When i access to one of my application that park under Default Web Site that running in asp.net framework 2.0, it hits error above.

Solution

The solution is very simple,Remove the Default Web Site Location path solve my problem.i hope this is help and save your time.

Sign Up to vote for this article
Other popular Tips/Tricks
Comments
By:PaoloDate Of Posted:10/21/2010 9:50:45 AM
Paul Shafft
What do you mean remove the default web site location path ?
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top
</