zoukankan      html  css  js  c++  java
  • The status code returned from the server was: 500

    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" %> 


  • 相关阅读:
    bzoj1648
    bzoj3404
    bzoj1650
    bzoj1625
    bzoj1606
    bzoj1464
    bzoj1572
    bzoj1617
    bzoj1092
    bzoj1091
  • 原文地址:https://www.cnblogs.com/sdjxcolin/p/2265850.html
Copyright © 2011-2022 走看看