Website gives and error " Unrecognized attribute 'targetFramework'"
- by user1465978
I installed VS2010 and NET 4.0 framework and created a simple project. When I uploaded to my server (where I also installed the 4.0 framework), I get this error:
Unrecognized attribute 'targetFramework'
It's coming from this section in the web.config which was auto-generated by VS2010 when I created the project:
I've checked and ensure that the application pool for my website on the server is set to "4.0 Integrated".
Any feedback on how to get past this error would be appreciated.
Thank you!