I have created a new web site in IIS7.
When the site was created it created an associated application pool.
I have set the application pool .net framework version to be version 4.0.
The web.config for the web site has targetFramework="4.0".
When I try to view the site I see an "500 - Internal server error."
When I double click the .net Compilation icon for the site in the IIS manager,
I see the infamous "Unrecognized element 'folderLevelBuildProviders' ".
There are many posts on this. Following those I have checked that:
* the site really is associated with a .net 4.0 Application pool.
* The .net version is not a beta. It is v4.0.30319.
So everything looks fine. What else could be causing the
Unrecognized element 'folderLevelBuildProviders' error?