Pages

Search This Blog

Sunday, March 21, 2010

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

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



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:
Remove the Default Web Site Location path solve my problem.

2 comments:

Anonymous said...

I have read several posts from your blog and I want to say that i like them very much!

Anonymous said...

Thank you for your nice site and very useful and interesting ideas!