我有一个使用 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>
我们能否就我应该如何调试和解决这个问题提出一些建议?我已经黔驴技穷了。