Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

将.Net 4.0项目部署到IIS7时,浏览报错如下:

Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. 

 

解决方法:

In IIS > Application Pools > Right click on Your APP > Basic Setting > Select FrameWork4.0

或者

Click IIS Server > Change .Net Framework VersionOn the Rightest Panel And Above Help 

 

原文 http://www.newwhy.com/2010/0827/7412.html

你可能感兴趣的:(framework)