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"