473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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?
Nov 17 '05 #1
3 2169
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" <zl*******@nospam.hotmail.com> wrote in message
news:eV**************@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?

Nov 17 '05 #2
This is an ASP page posting to an ASP.NET page. There is no viewstate to
speak of.

"Jay Pondy" <jp*****************@web2news.net> wrote in message
news:46*******@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 http://web2news.com
http://web2news.com/?microsoft.publi...amework.aspnet

Nov 17 '05 #3
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" <no***********@safeco.com> wrote in message
news:e6**************@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" <zl*******@nospam.hotmail.com> wrote in message
news:eV**************@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?


Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Tom | last post by:
I try to write a simple tcp based job queue server. It's purpose is to get commands from a client and store them in a queue (STL). The server has a thread which checks periodically the queue,...
6
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something...
0
by: z. f. | last post by:
Hi, i have asp.net vb.net wep application. i try to investigate performance issue. so first i built a vb.net windows application that makes http requests to my pages and show me the time taken...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
3
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
0
by: riteshjain1982 | last post by:
Pagepostback.....strange problem Hi, I am at cient place and getting very strange problem with my asp.net application............when i call my web application from any desktop machine in lan...
3
by: astarocean | last post by:
i'm using maildrophost to sendmail and wrote a script for it when the script is called directly from web request , a letter geneated with right things but when the script is called from...
10
by: John Kraft | last post by:
Hello all, I'm experiencing some, imo, strange behavior with the StreamReader object I am using in the code below. Summary is that I am downloading a file from a website and saving it to disk...
16
by: Victor | last post by:
I have a strange problem in my website. I configured my website to run under 2 worker processes. (web garden enabled). and I stored my user information in the current httpcontext(like...
4
by: szimek | last post by:
Hi, I've already posted an email with this problem, but this time I think I got a bit more info. The app I'm currently working on works like this: when user clicks on a clickable element, it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.