诊断Web浏览器上WebResource.axd请求为空的原因

时间:2013-07-02 05:08:40

标签: asp.net ajaxcontroltoolkit

我有一个使用AJAX工具包的ASP.NET应用程序。当我导航到IE中的屏幕时,我收到以下错误:

Message: Sys.InvalidOperationException: Type Sys.WebForms.BeginRequestEventArgs has already been registered. The type may be defined multiple times or the script file that defines it may have already been loaded. A possible cause is a change of settings during a partial update.
URI: https://<ApplicationDomain>/<VirtualDirectory>/<SessionId>/OverrideExternalAJAXScriptFiles/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.js

Message: Sys.InvalidOperationException: The PageRequestManager cannot be initialized more than once.
URI: https://<ApplicationDomain>/<VirtualDirectory>/ScriptResource.axd?d=1kB1uVOc_24H5Yv0czI8zYXbvBXwR3XEjx30oYmCmGTKnIO-YRd60i8TTRVkjRbqAOUbgzJ5E3y6NrTt4IHX7drIQC3kzAvPOpZn7KXUJOc1&t=633694372944218750

Message: Sys.ArgumentException:  does not derive from Sys.Component.
URI: https://<ApplicationDomain>/<VirtualDirectory>/<SessionId>/OverrideExternalAJAXScriptFiles/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.js

此外,还会在新标签页中打开一个空白屏幕。这个空白屏幕有网址

https://<ApplicationDomain>/<VirtualDirectory>/WebResource.axd?d=oHc_bhKp0frEM0H6NvUwjw2&t=634625324512398510.

仅在IE上出现此问题。 Firefox和Google Chrome浏览器运行良好。 Web应用程序使用旧版本的ASP.Net Ajax工具包(版本1.0.61025.0)。 Web应用程序还会覆盖MicrosoftAjax.js,MicrosoftAjaxTimer.js,MicrosoftAjaxWebForms.js。 Web应用程序使用“ScriptManager”

 <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Scripts>
             <asp:ScriptReference Name="MicrosoftAjax.js" ScriptMode="Auto" Path="~/OverrideExternalAJAXScriptFiles/System.Web.Extensions/1.0.61025.0/MicrosoftAjax.js" />
            </Scripts>
        </asp:ScriptManager>

我们是否有关于如何调试和解决此问题的指示?我没办法。

0 个答案:

没有答案
相关问题