首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >错误:在主机上进行一些更新后,ASP.NET Ajax客户端框架无法加载。

错误:在主机上进行一些更新后,ASP.NET Ajax客户端框架无法加载。
EN

Stack Overflow用户
提问于 2020-04-13 17:41:04
回答 1查看 165关注 0票数 0

我在windows host = https://blobloblo/WebForm5.aspx中有一个网站

当在FireFox developer上运行该链接&查看控制台日志时,我将看到以下错误:

错误: ASP.NET Ajax客户端框架失败

由于这个错误,这个网站的许多部分不能正常工作。

昨天一切都很好。

但今天,他们关闭了几个小时的主机&做了一些更新,如普列斯克的更新。

再次运行主机后,会出现此错误。

我该怎么叫他们解决这个问题?

WebForm5 ASPX :

代码语言:javascript
复制
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm5.aspx.cs" Inherits="Virtual_Visa_Cards.WebForm5" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <asp:Button ID="Button1" runat="server" Text="Button" Height="26px" OnClick="Button1_Click" />&nbsp;&nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
</body>
</html>

WebForm5 C# :

代码语言:javascript
复制
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Virtual_Visa_Cards
{
    public partial class WebForm5 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = "This is Ajax Call = CallBack";
        }
    }
}

相关专题:

ASP.NET Ajax client-side framework failed to load. when put the ScriptManager on a blank page

我测试主题上的所有答案,但没有结果。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-04-13 21:04:35

在plesk中,我使用了Web Application Firewall &将Web应用程序防火墙模式设置为off

我有一天努力解决这个问题。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61193494

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档