httpTransport />
                </binding>
            </customBinding>
        </bindings>
        <serviceHostingEnvironment aspNetCompatibilityEnabled="true"
            multipleSiteBindingsEnabled="true" />
还有这里也显示错误
        <services>
            <service name="CLOL.Web.postvedio">
                <endpoint address="" binding="customBinding" bindingConfiguration="CLOL.Web.postvedio.customBinding0"
                    contract="CLOL.Web.postvedio" />
                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
            </service>
            <service name="CLOL.Web.Service1">
                <endpoint address="" binding="customBinding" bindingConfiguration="CLOL.Web.Service1.customBinding0"
                    contract="CLOL.Web.Service1" />
                <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
            </service>
        </services>
    </system.serviceModel>
</configuration>

解决方案 »

  1.   

    你的站点在IIS上部署的Web使用的是基于.Net Framework2.0的Application Pool。将其修改成基于.Net Framework4.0的Application pool就可以了。
      

  2.   

    详细图参考:
    http://blog.csdn.net/muchlin/article/details/6800863
      

  3.   

    上面的连接还不详细啊,都贴图了,童鞋!打开IIS设置一下。
      

  4.   

    知道打开IIs 可是我的IIS和图中显示的不一样
    我的系统是Xp的  他的应该是w7吧
      

  5.   


    xp下,打开IIS,选择你发布的网站虚拟目录,然后选择“属性”
    在弹出的对话框中,选择“ASP.NET”然后选择.NET Framework为4.0即可。
      

  6.   

    知道打开IIs 可是我的IIS和图中显示的不一样
    我的系统是Xp的 他的应该是w7吧
      

  7.   

    我的ASP版本只有2.0.50727  怎么办啊?
      

  8.   

    那就安装一下.NET FrameWork 4.0然后选择4.0即可。下载地址:
    http://msdn.microsoft.com/zh-cn/netframework/aa569263.aspx?rClrVer=v4.0
      

  9.   

    安装完成问题 没解决 我郁闷  IIs现在已经显示ASp版本为4.0了  可是问题一点都没有变  当然我还没重启电脑  需要重启吗?  还是别的原因
      

  10.   

    IIs现在已经显示ASp版本为4.0了  可是问题一点都没有变 ,电脑也重启了,vs2010卸了又装,还是有问题