博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

将.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