I\'m running Windows 7 Ultimate (64 bit) using Visual Studio 2010 RC. I recently decided to have VS run/debug my apps on IIS rather than the dev server that comes with it. <
In my case .NET CRL Version in Application pool prppertires was set to No managed code (do not know why).
Setting it to .NET CRL Version v4.0.30319 solved the problem.