I got this error while working in Asp.Net.
Server Error in ‘/’ Application.
An error occurred during the processing of a configuration file required to service this request
I got this error whily deploying my web site to .Net framework 4.0. In my local machine it is working fine.
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
Parser Error Message: Unrecognized attribute ‘targetFramework’. Note that attribute names are
The above error will come usually if you write the below line in web.config file.
<compilation targetFramework=”4.0″ defaultLanguage=”c#” debug=”true”>
This error comes if your .net framework set as .Net 2.0. So to resolve this issue, change your .Net framework settings to 4.0.
fallow my other articles:-
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.
You May Also like the Following SharePoint Online Tutorials: