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/Main.master" AutoEventWireup="true" ...>

posted @ 2008-06-18 20:52  simplay  阅读(1683)  评论(1编辑  收藏  举报