HTTP Error 500.19 - Internal Server Error

We are trying to use a web application (calendar).  We get the error below.  I've gone to the web.config file and have added:

<remove name="scriptResourceHandler " />

in the <handlers> tag in the web.config file and rebooted the server.  I still get the same error.

Any ideas?

Detailed Error Information:

   IIS Web Core


   Not yet determined

Error Code

Config Error
   There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined  

Config File

Requested URL

Physical Path

Logon Method
   Not yet determined

Logon User
   Not yet determined

Config Source:
    5:             <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    6:                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    7:                 <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Jack SeamanAsked:
Who is Participating?
Dave_DietzConnect With a Mentor Commented:
What version of the Framework is the Application Pool configured to use?  If it is set to 4.0 try setting it to 2.0 and see if that helps.
Patrick BogersDatacenter platform engineer LindowsCommented:

What if you completely comment out line6?
Jack SeamanAuthor Commented:
I thought that was the effect of using the remove statement/
Patrick BogersDatacenter platform engineer LindowsCommented:

Sounds logically but whenever i troubleshoot duplicaties i start by commenting out, did you try?
Jack SeamanAuthor Commented:
I will have our web person try this out.  Thanks
All Courses

From novice to tech pro — start learning today.