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"
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.
Gen 8.6 ASP.NET application.IIS 7.5.NET Framework v4.0
Gen 8.6 only supports .NET framework 3.5 SP1.
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