On attempting to deploy a .net 3.5 website on the default app pool in IIS7 having the framework section set to 4.0, I get the following error.
There i
I've solved it, doing the following steps:
Here you have the images of these steps: