The status code returned from the server was: 500

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500错误解决办法:

1、在 ScriptManager   内添加 EnablePartialRendering="false" 显示详细的错误信息

<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="false"/>

2、一般的原因都是页面存在潜在的危险字符  页首加入 ValidateRequest="false"

<%@ Page Language="C#" MasterPageFile="~/MasterPages/CompanyManage.master" AutoEventWireup="true" CodeFile="CompanyIntroEdit.aspx.cs" Inherits="CompanyIntroEdit" Title="Untitled Page" ValidateRequest="false" %> 


相关文章:

  • 2021-08-08
  • 2022-12-23
  • 2021-08-29
  • 2021-06-13
  • 2021-09-27
  • 2021-07-06
  • 2021-10-19
  • 2021-11-25
猜你喜欢
  • 2021-10-27
  • 2021-12-27
  • 2021-11-14
  • 2022-12-23
  • 2022-01-02
  • 2021-06-22
相关资源
相似解决方案