IS Unrecognized attribute 'targetFramework' 错误解决方案

来源:互联网 发布:淘宝直邮有假货吗 编辑:程序博客网 时间:2024/04/30 04:51


在配置IIS服务器网站是遇到下面的问题:Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error:  Line 10:             during development.Line 11:         -->Line 12:   <compilation debug="false" targetFramework="4.0">Line 13:   </compilation>Line 14:   <!--                        


解决方案:

1. 选中你要发布的网站

2. 选择右边的基本设置.

3. 在出现的编辑网站对话框中选中&ldquo;选择&rdquo; 按钮

4. 在出现的选择应用池程序对话框中选择 ASP.NET v4.0

5. 测试OK

示意图:

0 0
原创粉丝点击