After deploy Gen 8.6 ASP.NET application to IIS AppPool running .NET framework v4.0, it fails to run due to Config Error "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined"
search cancel

After deploy Gen 8.6 ASP.NET application to IIS AppPool running .NET framework v4.0, it fails to run due to Config Error "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined"

book

Article ID: 7493

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction

After deploying a Gen 8.6 ASP.NET application to an IIS AppPool running .NET framework v4.0, it fails to run due to a Config Error i.e. when execute http://localhost:80/<appname>/<trancode.ashx this error is reported:

HTTP Error 500.19 - Internal Server Error 

The requested page cannot be accessed because the related configuration data for the page is invalid. 

Error Code: 0x800700b7 

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

Environment

Gen 8.6 ASP.NET application.IIS 7.5.NET Framework v4.0

Cause

The Gen 8.6 ASP.NET web.config file contains .NET 3.5 Framework system.web.extensions and cannot be deployed to an IIS AppPool running .NET framework v4.0.

Resolution

Gen 8.6 only supports .NET framework 3.5 SP1.

Additional Information

CA Gen 8.6 > Technical Requirements > Third-Party Software Version

See section "Application Environments"

NOTE: There was previously an incorrect statement for the .NET Framework support being for v4.0 which has been corrected to be v3.5 SP1.

 

Gen 8.5 also supports the same version .NET framework 3.5 SP1

CA Gen 8.5 > Technical Requirements > Third-Party Software Version