我在windows host = https://blobloblo/WebForm5.aspx中有一个网站
当在FireFox developer上运行该链接&查看控制台日志时,我将看到以下错误:
错误: ASP.NET Ajax客户端框架失败
由于这个错误,这个网站的许多部分不能正常工作。
昨天一切都很好。
但今天,他们关闭了几个小时的主机&做了一些更新,如普列斯克的更新。
再次运行主机后,会出现此错误。
我该怎么叫他们解决这个问题?
WebForm5 ASPX :
<%@ 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" /> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
</body>
</html>WebForm5 C# :
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
我测试主题上的所有答案,但没有结果。
发布于 2020-04-13 21:04:35
在plesk中,我使用了Web Application Firewall &将Web应用程序防火墙模式设置为off。

我有一天努力解决这个问题。
https://stackoverflow.com/questions/61193494
复制相似问题