Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to resolve this issue.

I am using Windows 7 and VS2008 +iis7.5. My project is stuck because of this error.

The error says:

Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

`Detailed Error Information
Module  IIS Web Core
Notification    BeginRequest
Handler Not yet determined
Error Code  0x800700b7
Config Error    There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined
Config File \\?\C:\inetpub\wwwroot\test23\web.config
Requested URL   http://localhost:80/test23
Physical Path   C:\inetpub\wwwroot\test23
Logon Method    Not yet determined
Logon User  Not yet determined
Config Source
   15:         <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
   16:          <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
   17:           <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35">

I followed the instructions in this Microsoft solution document, but it didn't help.

share|improve this question

closed as off-topic by Falcon Momot, mdpc, Ward, Nathan C, kce Aug 6 '13 at 16:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is a site dedicated to professionals; novice questions are off-topic. Please see the Help Center for more information on topicality. The best advice we can give you is to hire a professional to help you out." – Falcon Momot, mdpc, Ward, Nathan C, kce
If this question can be reworded to fit the rules in the help center, please edit the question.

The error is stating that the scriptResourceHandler is being defined twice. The key isn't the 500.19 (something bad happened in the configuration), it's the text of the error.

It's quite common to hit this with the scriptResourceHandler.

In short: remove it from the app's web.config and it should work. Alternatively, add a or entry for it in the web.config, then re-add it.

It's probably defined higher up in the configuration hierarchy somewhere.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.