.NET error: Unrecognized attribute ‘targetFramework’ on IIS6
I recently had to move a .NET application directory to a new location on an IIS 6 server. When I did, of course everything broke. Among the errors that had to be fixed was this one:
Unrecognized attribute 'targetFramework'
.
This is usually because the application pool is not set to use the framework assigned to the application in IIS Manager.
There are several ways to fix this. I chose the easiest one: setting the application extension path to the correct executable.
Continue reading