Friday, March 13, 2015

Unrecognized attribute 'targetFramework'.

We have just move to new servers and trying to get the website up and running.  I ran into this error when I tried to run an aspx page.  The static files and asp files ran without issue.  As soon as the Framework was invoked, I popped this error.  This an easy one to fix.  Just look at the version of the framework for your application pool.  It is most likely set to something below 4.  Set it to 4.0 and the issue should be resolved.


This is the issue.  You are trying to invoke a higher level version of the framework on an app pool which is running a lower version of the framework.

No comments:

Post a Comment