Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
'System.web.extensions' is already defined.
8.2.2009 20:28:33 - Filed under : Asp.net | AJAX
Error : Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level where it is defined.

I have a web application project which developed under 3.5 .net framework. Also there is a virtual directory under the project that developed in previous framework. These two sections belongs to their web.config file.

Root Project’s config : <sectionGroup name="system.web.extensions" type= "System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

Virtual Directory’s config : <sectionGroup name="system.web.extensions" type= "System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

Solution : <configuration> <configSections> <sectionGroup name="system.web.extensions2"… I  changed the “name” attribute of the sectionGroup of the Virtual Directory. Site and everything seems to be working now.

Keywords : sectionGroup inheritance issue, ajax migration, system.web.extension.

with 0 comments

What do you think ?
Security Code 6676
Check S. Code
Home Page