Unrecognized attribute 'targetFramework'.错误解决

将.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 VersionOn the Rightest Panel And Above Help

posted @ 2010-08-19 18:09  镜涛  阅读(1970)  评论(1编辑  收藏  举报
Creative Commons License

本文基于署名 2.5 中国大陆许可协议发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名孙镜涛(包含链接)。如您有任何疑问或者授权方面的协商,请给我留言