I have a web application developed in Framework 3.5. I changed to newer version of framework 4.0. If I run the same in local host it runs perfectly fine but as soon as I put it up in the web server it gives me the following error
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: Unrecognized attribute 'targetFramework'.
Note that attribute names are case-sensitive.
Source Error:
<compilation debug="true" targetFramework="4.0">
Kindly help me out. What change I would have to do in the code