ASP.net error message

From: Martin Colmenares (mar10c_at_cox.net)
Date: 06/19/03


Date: Thu, 19 Jun 2003 13:25:07 -0700


I'm using Win 2003 with IIS6. Whenever I submit this form I get this
error message. Anybody seen this before?

Server Error in 'name of app' Application.
------------------------------------------------------------------------
--------

A potentially dangerous Request.Form value was detected from the client
(RevisionHistoryTable=" <TABLE border=1 styl...").
Description: Request Validation has detected a potentially dangerous
client input value, and processing of the request has been aborted. This
value may indicate an attempt to compromise the security of your
application, such as a cross-site scripting attack. You can disable
request validation by setting validateRequest=false in the Page
directive or in the configuration section. However, it is strongly
recommended that your application explicitly check all inputs in this
case.

Exception Details: System.Web.HttpRequestValidationException: A
potentially dangerous Request.Form value was detected from the client
(RevisionHistoryTable=" <TABLE border=1 styl...").

Source Error:

An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.

Stack Trace:

[HttpRequestValidationException (0x80004005): A potentially dangerous
Request.Form value was detected from the client (RevisionHistoryTable="
<TABLE border=1 styl...").]
   System.Web.HttpRequest.ValidateString(String s, String valueName,
String collectionName) +230

System.Web.HttpRequest.ValidateNameValueCollection(NameValueCollection
nvc, String collectionName) +99
   System.Web.HttpRequest.get_Form() +121
   System.Web.UI.Page.GetCollectionBasedOnMethod() +70
   System.Web.UI.Page.DeterminePostBackMode() +47
   System.Web.UI.Page.ProcessRequestMain() +2106
   System.Web.UI.Page.ProcessRequest() +218
   System.Web.UI.Page.ProcessRequest(HttpContext context) +18

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutio
nStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +87

 

------------------------------------------------------------------------
--------
Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET Version:1.1.4322.573

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • friendly error messages for usernameForCertificateSecurity
    ... returned to the client in a simple way. ... In the code above if I comment out the throwing of the soap exception on the ... "Security requirements are not satisfied because the security header is not ... true error message is a less then desireable solution. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: ASP.net error message
    ... Request Validation has detected a potentially dangerous ... > client input value, and processing of the request has been aborted. ... > An unhandled exception was generated during the execution of the current ... > nvc, String collectionName) +99 ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Your personal QC experience
    ... Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. ... An unhandled exception was generated during the execution of the current web request. ... System.Web.HttpRequest.ValidateString(String s, String valueName, String collectionName) +240 ...
    (borland.public.delphi.non-technical)
  • Re: Problem displaying text in a TextBox...
    ... Request Validation has detected a potentially dangerous client ... An unhandled exception was generated during the execution of the current web ...
    (microsoft.public.dotnet.framework.aspnet)
  • What do you think of this warning message?
    ... Text copy of the warning page appeared under Firefox 2.0.0.6 ... Request Validation has detected a potentially dangerous client ... An unhandled exception was generated during the execution of the current web ...
    (comp.security.misc)