本文介绍了ASP.NET AJAX客户端框架未能加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误:

ASP.NET Ajax客户端框架未能加载

,出现错误:

SYS'是不确定的。

错误qppears,并出现只有当我运行在服务器上的网站。在我的本地一切工作正常。

The error qppears in IE on the bottom (error message), and appears only when i'm running the site on server. on my localhost everything works fine.

我搬到了新的服务器,在那里我有问题。在我的previous服务器一切都很好。

i moved for new server, and there i have the problem. in my previous server everything was fine.

这个问题来自于阿贾克斯的ScriptManager的。

The problem comes from the SCRIPTMANAGER of the ajax.

有什么我可以做什么?财产以后在web.config中,还是应该主公司需要安装财产以后?

what i can to do? somthing in the web.config, or should the host company need to install somthing?

ASP.NET 4,IIS 7.5

ASP.NET 4, IIS 7.5

在IE浏览器的丑陋的黄色三角形,没有什么打扰我。最大的问题是,随着更新潘内尔的脚本管理器 - 不工作

The ugly yellow triangle on the IE is not what is disturbing me.. the big problem is that the script manager with the update pannel - dont work !

推荐答案

一个快速的解决方案是更新你的web.config并添加以下部分

A quick solution is to update your web.config and add following section

<handlers>
    <remove name="WebServiceHandlerFactory-Integrated"/>
    <remove name="ScriptHandlerFactory"/>
    <remove name="ScriptHandlerFactoryAppServices"/>
    <remove name="ScriptResource"/>
    <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</handlers>

这篇关于ASP.NET AJAX客户端框架未能加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 05:17
查看更多