Learn more about SQL Server tools

mssqltips logo

Tutorials          DBA          Dev          BI          Career          Categories          Webcasts          Scripts          Today's Tip          Join

Tutorials      DBA      Dev      BI      Categories      Webcasts

DBA    Dev    BI    Categories


Resolving Config Error to run Central Administration

By:   |   Updated: 2011-08-18   |   Comments   |   Related: > Sharepoint


Let's say you have already installed SharePoint 2010 on your server and you recently upgraded IIS7 / 7.5 to ASP.NET 4.0. Or you might changed the "SharePoint Central Administration V4" application pool’s .NET framework from version 2 to 4. You may got an error...

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

...when you try to run central administration or any SharePoint application.

detailed error information

This problem occurs because when you use the .Net framework 4.0 and the machine config already has all those sections defined. The error message (scriptResourceHandler) can be initially resolved by commenting out the handler in the web.config.  But then there could be other errors (other duplicates). Finally it causes an authentication problem after commenting out all the duplicates.

Step 1:

When you run SharePoint Configuration Wizard to fix this, you may get the following error:

web application
configuration failed
  • This issue occurred due to running the SharePoint Application pool under the .NET framework 4.0. However, the application is compiled with .NET framework 3.5. SharePoint 2010 is running under .NET framework 3.5. So, in this case, please make sure the application pool is running under .NET framework 3.5.

Step 2:

Do the following to reset the Application Pool

  1. Open the Internet Information Server(IIS) manager.
  2. Go to "Application Pools".
  3. Double-click the application pool that the web application is using . (This web application is on port 46824.)
  4. Change its .NET framework version to V2.0.50727 .
  5. Re-Start IIS.
central administration

Now you are done! The Central Administration site should Work!!!

Hope this will save you several hours work of troubleshooting work.

Next Steps

Last Updated: 2011-08-18

get scripts

next tip button

About the author

Post a comment or let the author know this tip helped.

All comments are reviewed, so stay on subject or we may delete your comment. Note: your email address is not published. Required fields are marked with an asterisk (*).

*Name    *Email    Email me updates 

Signup for our newsletter
 I agree by submitting my data to receive communications, account updates and/or special offers about SQL Server from MSSQLTips and/or its Sponsors. I have read the privacy statement and understand I may unsubscribe at any time.


Learn more about SQL Server tools