Ask a Question related to ASP.NET General, Design and Development.
-
Marina #1
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
-
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... -
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... -
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... -
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... -
[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 ... -
bruce barker #2
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...or> 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 deletionis> 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> 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
-
Marina #3
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
-
Marina #4
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...to> 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 closeor> 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 charactersdeletion> > so. The error can litterally be eliminated and reproduced by thearound> or> > addition of a single character
> >
> > Now, the maxrequestlength in machine.config is at 4096KB - which iserror -> > 4MB. There is no way we are going over this. And there is no .NETposted> > there is a generic DNS error. And again, the size of what is being> 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



Reply With Quote

