MESSAGE:
A potentially dangerous Request.QueryString value was detected from the client (="..._0310_0...<FONT").STACK TRACE:
at System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) 
at System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection nvc, String collectionName) 
at System.Web.HttpRequest.get_QueryString() 
at System.Web.UI.Page.GetCollectionBasedOnMethod() 
at System.Web.UI.Page.DeterminePostBackMode() 
at System.Web.UI.Page.ProcessRequestMain() 
at System.Web.UI.Page.ProcessRequest() 
at System.Web.UI.Page.ProcessRequest(HttpContext context) 
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() 
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Target Site:
Void ValidateString(System.String, System.String, System.String)InnerException:
Source:
System.Web

解决方案 »

  1.   

    在web.config中加<pages validateRequest="false" />
      

  2.   

    试试在 Page 指令或 配置节中设置 validateRequest=false,禁用请求验证
      

  3.   

    你提交的内容中有非法的数据,比如'<'、'>'等等,使用 validateRequest=false就可以避免
      

  4.   

    我知道在web.config中加入语句可以不让它出现这个错误。
    但是上级的页面链接是程序生成的,链接中不会出现非法字符的。