Website gives and error " Unrecognized attribute 'targetFramework'"
Posted
by
user1465978
on Stack Overflow
See other posts from Stack Overflow
or by user1465978
Published on 2012-06-23T21:13:25Z
Indexed on
2012/06/23
21:15 UTC
Read the original article
Hit count: 178
.NET
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!
© Stack Overflow or respective owner