Last post Jun 21, 2018 01:56 AM by oned_gk
Jun 20, 2018 04:36 PM|JagjitSingh|LINK
I am getting above 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: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
Line 14: </connectionStrings>
Line 15: <system.web>
Line 16: <compilation debug="true" targetFramework="4.0" />
Line 17: <customErrors mode="Off"/>
Line 18: <httpModules>Thanks
Jun 20, 2018 05:08 PM|markfitzme|LINK
It sounds like this application is running in a 3.5/2.0 framework application pool. The error is exactly what is happening. The targetFramework attribute wasn't introduced until 4.0. Try deleting it or set the application pool to a 4.x application pool.
Jun 21, 2018 01:56 AM|oned_gk|LINK
simply remove targetframework
AFAIK, targetframework is used to target to another net version (multitargetting)
Such as you want run the application as net 4.0 in net 4.7
But some older net framework don't have this "targetframework" property, you can remove it
Or run the app using newer net framework