Re: Error in request

From: Victor Garcia Aprea [MVP] (vga@NOobiesSPAM.com)
Date: 04/23/03

  • Next message: Michael Leung: "RE: UNC file share and NTLM user identity"
    From: "Victor Garcia Aprea [MVP]" <vga@NOobiesSPAM.com>
    Date: Tue, 22 Apr 2003 20:54:41 -0300
    
    

    Hi Tobe,

    Please browse back a few threads for one named "Error" by Ashok on 4/14,
    where we're discussing what this exception means and how/when to
    enable/disable this new 1.1 feature.

    --
    Victor Garcia Aprea
    Microsoft MVP | ASP.NET
    "Tobe" <tobep@vantagecontrols.com> wrote in message
    news:005401c30757$1a023f90$a101280a@phx.gbl...
    > My Webhosting service (brinkster) told me that there is a
    > bug in ASP.NET which causes blank pages to come up with
    > more complex pages with a lot of  EnableViewState=true.
    >
    > So I disabled the viewstate on the majority of the
    > controls, but now I am getting another error, a security
    > error, as I am trying to read the 'request' for these
    > controls.  The error is:
    >
    > "A potentially dangerous Request.Form value was detected
    > from the client (target0="<CENTER><BIG><BIG>LA..."). "
    >
    > It tells me what I can do to allow a bypass of this
    > security feature (as you can see in the description
    > section below.  It says that I can "can disable request
    > validation by setting validateRequest=false in the Page
    > directive"  But when I use the validateRequest=false in
    > the page directive, I get another error saying
    > that "The 'validateRequest' attribute is not supported by
    > the 'page' directive."
    >
    > What is the proper way to bypass this security feature.  I
    > need to get this application on-line as soon as possible.
    >
    > Thanks.
    > tlp
    >
    >
    >
    >
    > 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
    > (target0="<CENTER><BIG><BIG>LA...").
    >
    >
    

  • Next message: Michael Leung: "RE: UNC file share and NTLM user identity"

    Relevant Pages

    • Server Error in /Remote Application
      ... configuration file located in the root directory of the current web ... Exception Details: System.UnauthorizedAccessException: Access to the path ... granting access rights to the resource to the ASP.NET request identity. ... System.IO.StreamWriter.CreateFile(String path, Boolean append) +55 ...
      (microsoft.public.windows.server.sbs)
    • .net user permissions in IIS
      ... We have a windows 2003 domain with 4 web servers in. ... (Exception from HRESULT: 0x80070005 ... the current web request. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Driver verifier cause SYSTEM_SERVICE_EXCEPTION
      ... a request that has a cancel routine assigned to it (e.g. you called ... An exception happened while executing a system service routine. ... The problem is that when the driver receives its first IOCTL and it is ... to complete or even forward this request a BSOD is reported. ...
      (microsoft.public.development.device.drivers)
    • Re: Driver verifier cause SYSTEM_SERVICE_EXCEPTION
      ... This posting is provided "AS IS" with no warranties, and confers no rights. ... a request that has a cancel routine assigned to it (e.g. you called ... > An exception happened while executing a system service routine. ...
      (microsoft.public.development.device.drivers)
    • Re: .net user permissions in IIS
      ... The exception message has all the information you need to correct this ... You can right -click on the folder containing the resources where access is ... account, or add the needed account and grant it permission. ... the current web request. ...
      (microsoft.public.dotnet.framework.aspnet)