读书人

异常5无法识别的属性“targetFramewor

发布时间: 2012-05-27 05:42:30 作者: rapoo

错误5无法识别的属性“targetFramework”。请注意属性名称区分大小写
<?xml version="1.0"?>

<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->

<configuration>
<system.web>
<httpRuntime maxRequestLength="2097151" useFullyQualifiedRedirectUrl="true" executionTimeout="3160000"/>

<compilation debug="true" targetFramework="4.0" />
问题显示在这里 这是什么情况 怎么修改?
</system.web>

<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<bindings>
<customBinding>
<binding name="CLOL.Web.postvedio.customBinding0">
<binaryMessageEncoding />

[解决办法]
你的站点在IIS上部署的Web使用的是基于.Net Framework2.0的Application Pool。

将其修改成基于.Net Framework4.0的Application pool就可以了。
[解决办法]
详细图参考:
http://blog.csdn.net/muchlin/article/details/6800863
[解决办法]

探讨
可不可以具体一点 我是菜鸟 啊

[解决办法]
探讨
知道打开IIs 可是我的IIS和图中显示的不一样
我的系统是Xp的 他的应该是w7吧

读书人网 >C#

热点推荐