Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 解决办法
2007-12-21 13:52
1351 查看
我的解决办法:
在Web.Config
<system.web>
<pages enableEventValidation="false"/>
</system.web>
转载的解决办法:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
在 ScriptManager 内添加 EnablePartialRendering="false" 显示详细的错误信息。
如下:
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="false"/>
一般的原因都是页面存在潜在的危险字符 在 页首加入 ValidateRequest="false"
如下:
<%@ Page Language="C#" MasterPageFile="~/MasterPages/CompanyManage.master" AutoEventWireup="true" CodeFile="CompanyIntroEdit.aspx.cs" Inherits="CompanyIntroEdit" Title="Untitled Page" ValidateRequest="false" %>
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1916495
在Web.Config
<system.web>
<pages enableEventValidation="false"/>
</system.web>
转载的解决办法:
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
在 ScriptManager 内添加 EnablePartialRendering="false" 显示详细的错误信息。
如下:
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="false"/>
一般的原因都是页面存在潜在的危险字符 在 页首加入 ValidateRequest="false"
如下:
<%@ Page Language="C#" MasterPageFile="~/MasterPages/CompanyManage.master" AutoEventWireup="true" CodeFile="CompanyIntroEdit.aspx.cs" Inherits="CompanyIntroEdit" Title="Untitled Page" ValidateRequest="false" %>
Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1916495
相关文章推荐
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. 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
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The s
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. the s
- ASP报错:Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the serve
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The s
- Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12030
- Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the serve
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The s
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the
- [转]解决:Sys.WebForms.PageRequestManagerServerErrorException(status code 500 OR 12031)问题
- 解决:Sys.WebForms.PageRequestManagerServerErrorException(status code 500 OR 12031)问题
- Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理请求时出现未知错误解决办法
- Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理请求时出现未知错误解决办法
- Sys.WebForms.PageRequestManagerServerErrorException: 在服务器上处理请求时出现未知错误解决办法
- asp.net ajax Sys.WebForms.PageRequestManagerServerErrorException 500 解决方法
- 解决:Sys.WebForms.PageRequestManagerServerErrorException(status code 500 OR 12031)问题