Strange Request Size problem

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Strange Request Size problem

    Hi,

    When posting to a particular ASP.NET page from ASP, we get a generic DNS
    error when one of the form variables gets beyond around 1290 characters or
    so. The error can litterally be eliminated and reproduced by the deletion or
    addition of a single character

    Now, the maxrequestlength in machine.config is at 4096KB - which is around
    4MB. There is no way we are going over this. And there is no .NET error -
    there is a generic DNS error. And again, the size of what is being posted is
    so small compared to the limit. However, there doesn't seem to be any
    information on what else could be causing this.

    Any ideas?


    Marina Guest

  2. Similar Questions and Discussions

    1. IE 7 and font size - request for site check
      Since upgrading to IE 7 I'm noticing that a lot of our websites have v. small text in Contribute (v3). In IE 7 itself everything is fine. I'm...
    2. Strange FDF problem
      I am developing an fdf that fills in 3 form values into my pdf, and am having some strange problems. First off, this project is sort of an...
    3. WebException HTTP 400 Bad Request depends on size of file attach
      I have an application that send a file to a web service (I built both the application and the web service) I set the max file size via web.config...
    4. Very Strange Problem
      Hi Guys, I have a user that is using Adobe Illustrator 10 and she has a very odd problem. When she tries to access her Illustrator files from the...
    5. [PHP] strange new problem with IE
      For about the past week or so (after getting a new IE update) I've been having strange problems with IE and my PHP scripts. One out of ten times ...
  3. #2

    Default Re: Strange Request Size problem

    you are probably doing a form GET which encodes all the form data in the
    URL. there is no set min length for a URL. common limits are 2k and 4k. IE
    and wininet have a 4k limit (but because they use unicode internally, its
    actually a 2k limit). 1290 + site url + other form fields is pretty close to
    the 2k limit. switch from a GET to a POST, which will not limit form data
    length.

    -- bruce (sqlwork.com)


    "Marina" <zlatkinam@nospam.hotmail.com> wrote in message
    news:eV95v4xPDHA.1336@TK2MSFTNGP11.phx.gbl...
    > Hi,
    >
    > When posting to a particular ASP.NET page from ASP, we get a generic DNS
    > error when one of the form variables gets beyond around 1290 characters or
    > so. The error can litterally be eliminated and reproduced by the deletion
    or
    > addition of a single character
    >
    > Now, the maxrequestlength in machine.config is at 4096KB - which is around
    > 4MB. There is no way we are going over this. And there is no .NET error -
    > there is a generic DNS error. And again, the size of what is being posted
    is
    > so small compared to the limit. However, there doesn't seem to be any
    > information on what else could be causing this.
    >
    > Any ideas?
    >
    >

    bruce barker Guest

  4. #3

    Default Re: Strange Request Size problem

    This is an ASP page posting to an ASP.NET page. There is no viewstate to
    speak of.

    "Jay Pondy" <jpondy.news.invalid@web2news.net> wrote in message
    news:46105N440@web2news.com...
    > Have you checked on the size of your viewstate? Perhaps you have
    > controls on the page that are persisting their state unecessarily to the
    > viewstate.
    >
    > Marina wrote:
    > > Hi,
    > >
    > > When posting to a particular ASP.NET page from ASP, we get
    > > a generic DNS
    > > error when one of the form variables gets beyond around
    > > 1290 characters or
    > > so. The error can litterally be eliminated and reproduced
    > > by the deletion or
    > > addition of a single character
    > >
    > > Now, the maxrequestlength in machine.config is at 4096KB -
    > > which is around
    > > 4MB. There is no way we are going over this. And there is
    > > no .NET error -
    > > there is a generic DNS error. And again, the size of what
    > > is being posted is
    > > so small compared to the limit. However, there doesn't seem to be any
    > > information on what else could be causing this.
    > >
    > > Any ideas?
    >
    > --
    > Direct access to this group with [url]http://web2news.com[/url]
    > [url]http://web2news.com/?microsoft.public.dotnet.framework.aspnet[/url]

    Marina Guest

  5. #4

    Default Re: Strange Request Size problem

    We are actually doing a post to the asp.net page.

    However, through some more digging, it seems as if this asp.net page, may be
    doing a redirect to yet another page: and putting the form values in the
    URL. We are still trying to investigate to see exactly what is going on.

    If this is the case, then your answer would definitely explain it.

    Thanks.

    "bruce barker" <nospam_brubar@safeco.com> wrote in message
    news:e680ZqyPDHA.1612@TK2MSFTNGP11.phx.gbl...
    > you are probably doing a form GET which encodes all the form data in the
    > URL. there is no set min length for a URL. common limits are 2k and 4k. IE
    > and wininet have a 4k limit (but because they use unicode internally, its
    > actually a 2k limit). 1290 + site url + other form fields is pretty close
    to
    > the 2k limit. switch from a GET to a POST, which will not limit form data
    > length.
    >
    > -- bruce (sqlwork.com)
    >
    >
    > "Marina" <zlatkinam@nospam.hotmail.com> wrote in message
    > news:eV95v4xPDHA.1336@TK2MSFTNGP11.phx.gbl...
    > > Hi,
    > >
    > > When posting to a particular ASP.NET page from ASP, we get a generic DNS
    > > error when one of the form variables gets beyond around 1290 characters
    or
    > > so. The error can litterally be eliminated and reproduced by the
    deletion
    > or
    > > addition of a single character
    > >
    > > Now, the maxrequestlength in machine.config is at 4096KB - which is
    around
    > > 4MB. There is no way we are going over this. And there is no .NET
    error -
    > > there is a generic DNS error. And again, the size of what is being
    posted
    > is
    > > so small compared to the limit. However, there doesn't seem to be any
    > > information on what else could be causing this.
    > >
    > > Any ideas?
    > >
    > >
    >
    >

    Marina Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139