Configuration Error - The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework

Parent Previous Next
  Qsoar Installation And Configuration Guide ›› Qsoar Application Notes ›› Configuration Error - The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework

Server Error in '/' Application.


Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework.

Source Error:


Line 57:   <system.web>

Line 58:     <customErrors mode="Off"/>

Line 59:     <compilation debug="true" targetFramework="4.6.2" />

Line 60:     <!-- executionTimeout="240" maxRequestLength="20480" is 240 seconds

Line 61:         and ~20 MB.  Max is 30MB before having to change ISS server settings.


Source File: C:\inetpub\wwwroot\Qsoar_B3\web.config Line: 59


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1087.0



If you receive an error like this, it means that you need to install the .NET Framework 4.6.2 web installer on the server.



This can be downloaded from Microsoft: