方法'get_EnableCdn'类型'System.Web.UI.ScriptManager“从程序集”“没有实现 [英] Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions' does not have an implementation

查看:658
本文介绍了方法'get_EnableCdn'类型'System.Web.UI.ScriptManager“从程序集”“没有实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解释一个深灰色的错误像这样的31bf3856ad364e35没有实现。

Can anyone explain a perse error like this one: "Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation."

我开发框运行Windows 7,框架4.0和最新的Ajax工具包。站点本地工作以及测试服务器上(赢得2003年,框架4.0和最新的Ajax工具包),但生产服务器(再次赢得2003年)的故事是不同的。

My dev box runs Windows 7, framework 4.0 and latest Ajax tool kit. Site works locally as well as on test server (win 2003, framework 4.0 and latest Ajax tool kit), but on the production server (again Win 2003) the story is different.

讽刺的是,生产服务器上的网站已经升级到4.0的框架几个月前,直到我试图通过复制发布的站点,推动更新工作正常。这时候,我得到这个错误的。

Ironically, the site on production server has been upgraded to framework 4.0 several months ago and works fine until I try to push updates by copying a published site. That's when I get this error.

我也得到这个错误,如果只是一个网站的工作副本复制到新目录中创建一个新的虚拟目录。

I also get this error if a just copy the working copy of the site into a new directory a create a new virtual directory.

重新安装VS2010,但没有帮助。

Reinstalled VS2010 but that didn't help.

不管怎样,有很多的帖子与此错误消息都是关于用户在升级到4.0,并收到此错误,这不是我的情况,所以我在这一损失将AP preciate输入。

Anyway, a lot of the post with this error message are about users upgrading to 4.0 and receiving this error, which is not my case, so I'm at loss with this and would appreciate your input.

谢谢,

推荐答案

我已经看到了这个错误在一个从Visual Studio 2005项目升级到Visual Studio 2010的项目中的Web应用程序。

I have seen this error in a web application that was upgraded from a Visual Studio 2005 project to a Visual Studio 2010 project.

解决的办法是去除web.config文件的以下部分:

The solution was to remove the following section from the web.config file:

<runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
        <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
        <dependentAssembly>
            <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
        </dependentAssembly>
    </assemblyBinding>
</runtime>

这篇关于方法'get_EnableCdn'类型'System.Web.UI.ScriptManager“从程序集”“没有实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆