Friday, June 10, 2011

ASPDNSF: Invalid web.config Error–There Is a Duplicate Section Defined

Version: ASPDotNetStorefront 9.x
The following error is generated when trying to view the store website:
Server ErrorInternet Information Services 7.5
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 Unknown
Handler Not yet determined
Error Code 0x800700b7
Config Error There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined 
Config File xxx\web.config

AspDotNetStorefront is typically run under the DefaultAppPool.  In IIS, right click on the DefaultAppPool and choose Advanced Settings.  Ensure the .NET Framework Version = 2.