+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / 'system.web.extensions' is already defined.

'system.web.extensions' is already defined.

2 posts, 0 answered
  1. Senthilkumar Selva
    Senthilkumar Selva avatar
    1 posts
    Registered:
    07 Nov 2009
    07 Nov 2009
    Link to this post
    Hi

    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 2.0 .net 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=3.5.0.0, 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">



    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.


     this issue happen in  My production Server,  kindly give the solution

    Thanks n advance
    Senselva



  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    09 Nov 2009
    Link to this post
    Hi Senthilkumar Selva,

    Most probably the issue you are facing is provoked by the web.config inheritance. This is a feature of Asp.Net. Please check the following article - http://www.kowitz.net/archive/2007/05/16/stopping-asp.net-web.config-inheritance.aspx to understand how you could prevent this.

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered