When configuring the ArcGIS Web Adaptor on the configuration web page after installing the web adaptor, the following error is returned:
Error: Parser Error Message: Unrecognized attribute 'targetFramework'
The assigned .NET Framework for the web adaptor application pool is not the proper version. For more information on the proper version of .NET Framework, refer to the system requirement of ArcGIS Web Adaptor in their respective version.
For ArcGIS Web Adaptor 10.7, Microsoft .NET Framework 4.5.2 or later is required to install ArcGIS Web Adaptor.
Assign the proper .NET Framework version in the application pool of the web adaptor by following the steps described below:
Note: Before proceeding with the steps below, ensure the proper .NET Framework version is installed on the machine.