Adobe Acrobat 8.1.2 & VS2005 asp not playing well together - 'potentially dangerous Request.Form value...'

Last post 05-08-2008 3:54 AM by Thomas Sun – MSFT. 1 replies.

Sort Posts:

  • Adobe Acrobat 8.1.2 & VS2005 asp not playing well together - 'potentially dangerous Request.Form value...'

    05-06-2008, 10:35 AM
    • Loading...
    • BongoBob
    • Joined on 08-12-2004, 11:57 AM
    • Posts 36

    I have an Adobe Acrobat (AA) 7 pdf form that is used in a VS2005 VB web application. It has been working fine for a couple of years.

    Yesterday I had to make some simple text changes (phone number) to the AA pdf form, afterwards saving it in the latest version, AA v8.1.2. File size increased from 140kb to 340kb - that made me nervous.

    Ran it and it blew up with server error, "A potentially dangerous Request.Form value was detected from the client(....)."

    Back when we went from AA v6 to AA v7 we had issues with this pdf form so I suspect the good old Adobe folks have made some unwelcome changes again.

    Anyone have this problem and found a cure?

    I'd rather not disable 'ValidateRequest' not mess with the HtmlEncode/Decode stuff.

    Thanks for any help with this.

     

  • Re: Adobe Acrobat 8.1.2 & VS2005 asp not playing well together - 'potentially dangerous Request.Form value...'

    05-08-2008, 3:54 AM
    Answer

    Hi,

    This message means that ASP.NET detects potentially dangerous from client input (in your case, it is pdf form).

    You can try to disable the 'ValidateRequest' just like the message suggests, and then you can use Server.HtmlEncode(string) to encode the input and then revert it back using the Server.HtmlDecode(string) method.


    Based on the information and explanation above, you can also ask question about Adobe Acrobat on http://www.adobe.com/support/. I believe that you can get the best answer to this question about Adobe Acrobat.

     

    I hope this helps.  

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)