将.NET4.0项目部署到IIS7的时候,浏览报错:
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.
环境:Server2008+IIS7
解决方案:In IIS > Application Pools > Right click on Your APP > Basic Setting > Select FrameWork4.0
或者
Click IIS Server > Change .Net Framework Version(On the Rightest Panel And Above Help)