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"

Document ID : KB000007493
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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