473,725 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspx/html file bigger than 170KB truncated

hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page.
the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the middle of a line. the last line looks like that:
<td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same logic and is not traucated (it's smaller - about 80KB) does not have this header.
can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page.
b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a problem with the receiver of the data and not with the sender (IIS ) of the data.

TIA, z.
Nov 19 '05 #1
5 3167
Hi,

Do you have any custom ISAPI filters enabled on the server?
Do you have Zone Alarm installed on this machine? We've seen some strange
problems with IIS and Zone Alarm that looks similar to what you see.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
z. f. wrote:
hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the
middle of a line. the last line looks like that: <td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same logic
and is not traucated (it's smaller - about 80KB) does not have this header.

can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page. b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a problem with the receiver of the data and not with the sender (IIS ) of
the data.
TIA, z.

Nov 19 '05 #2
no, no and no

the only ISAPI is
v1.1.4322\aspne t_filter.dll

what i am using is response.flush, i hope that the implementation of this is not causing the chunked content encoding.
how can this be canceled?

i also changed the globalization entry of the Global.asax to have responseEncodin g="windows-1255"

might this cause anything???

TIA, z.
"Kristofer Gafvert" <kg******@NEWSi lopia.com> wrote in message news:xn******** ********@news.m icrosoft.com...
Hi,

Do you have any custom ISAPI filters enabled on the server?
Do you have Zone Alarm installed on this machine? We've seen some strange
problems with IIS and Zone Alarm that looks similar to what you see.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
z. f. wrote:
hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the
middle of a line. the last line looks like that: <td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same logic
and is not traucated (it's smaller - about 80KB) does not have this header.

can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page. b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a problem with the receiver of the data and not with the sender (IIS ) of
the data.
TIA, z.

Nov 19 '05 #3
There is nothing "wrong" with chunked content encoding. HTTP defines many
valid ways to transfer entity body, and HTTP servers/browsers all know how
to do it correctly.

If I have to guess, it sounds like your page hit some server-side limit or
timeout that causes problems.

Chunked encoding simply means that the sending keeps sending data until a
"stop" token is sent. Thus, it is possible for you to see a truncated
response if the sending was somehow "stopped" before it was done. Changing
to Content-Length won't necessarily solve the problem -- connection can
still stop before it is done.

The ASP sounds like it has Response.Buffer = true somewhere -- and
actually, telling large pages to buffer on the server is a bad idea in
general since it chews up that much memory per-request just for that page.

If nothing obvious comes up, I suggest using a Network sniffer like NetMon
or Ethereal to take a trace of such a truncated request and post it. It
should give clear details on what is going on.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"z. f." <zi**@info-scopeREMSPAM.co .il> wrote in message
news:u7******** ******@TK2MSFTN GP15.phx.gbl...
no, no and no

the only ISAPI is
v1.1.4322\aspne t_filter.dll

what i am using is response.flush, i hope that the implementation of this is
not causing the chunked content encoding.
how can this be canceled?

i also changed the globalization entry of the Global.asax to have
responseEncodin g="windows-1255"

might this cause anything???

TIA, z.
"Kristofer Gafvert" <kg******@NEWSi lopia.com> wrote in message
news:xn******** ********@news.m icrosoft.com...
Hi,

Do you have any custom ISAPI filters enabled on the server?
Do you have Zone Alarm installed on this machine? We've seen some strange
problems with IIS and Zone Alarm that looks similar to what you see.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
z. f. wrote:
hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the
middle of a line. the last line looks like that: <td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same logic
and is not traucated (it's smaller - about 80KB) does not have this
header.

can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page. b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a problem with the receiver of the data and not with the sender (IIS ) of
the data.
TIA, z.

Nov 19 '05 #4
when i run fiddler (http proxy/http monitor) the problem disappear, so i guess it's some kind of client side implementation problem of receiving the chunked HTTP.
the IE version is 6, running on windows 2003 server.

anyway, how can i disable the chunked http?
the asp is not chunked even though it uses response.flush.
TIA, z.

"David Wang [Msft]" <so*****@online .microsoft.com> wrote in message news:OC******** ******@tk2msftn gp13.phx.gbl...
There is nothing "wrong" with chunked content encoding. HTTP defines many
valid ways to transfer entity body, and HTTP servers/browsers all know how
to do it correctly.

If I have to guess, it sounds like your page hit some server-side limit or
timeout that causes problems.

Chunked encoding simply means that the sending keeps sending data until a
"stop" token is sent. Thus, it is possible for you to see a truncated
response if the sending was somehow "stopped" before it was done. Changing
to Content-Length won't necessarily solve the problem -- connection can
still stop before it is done.

The ASP sounds like it has Response.Buffer = true somewhere -- and
actually, telling large pages to buffer on the server is a bad idea in
general since it chews up that much memory per-request just for that page.

If nothing obvious comes up, I suggest using a Network sniffer like NetMon
or Ethereal to take a trace of such a truncated request and post it. It
should give clear details on what is going on.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"z. f." <zi**@info-scopeREMSPAM.co .il> wrote in message
news:u7******** ******@TK2MSFTN GP15.phx.gbl...
no, no and no

the only ISAPI is
v1.1.4322\aspne t_filter.dll

what i am using is response.flush, i hope that the implementation of this is
not causing the chunked content encoding.
how can this be canceled?

i also changed the globalization entry of the Global.asax to have
responseEncodin g="windows-1255"

might this cause anything???

TIA, z.
"Kristofer Gafvert" <kg******@NEWSi lopia.com> wrote in message
news:xn******** ********@news.m icrosoft.com...
Hi,

Do you have any custom ISAPI filters enabled on the server?
Do you have Zone Alarm installed on this machine? We've seen some strange
problems with IIS and Zone Alarm that looks similar to what you see.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
z. f. wrote:
hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the
middle of a line. the last line looks like that: <td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same logic
and is not traucated (it's smaller - about 80KB) does not have this
header.

can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page. b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a problem with the receiver of the data and not with the sender (IIS ) of
the data.
TIA, z.

Nov 19 '05 #5
It is not possible to "disable" chunked encoding with IIS configuration.
IIS does NOT decide on the encoding of the entity body -- the specific
application/platform determines this and is actually responsible for
performing the data chunking.

Thus, you will have look at whether the particular application/platform
supports this sort of configuration.

Now, the client can do something to prevent chunking -- by making a HTTP/1.0
request (since chunked encoding was added in HTTP/1.1 so server-side code
should never send chunks to HTTP/1.0 clients). But, I'm not aware of any
browsers with this sort of configurability .
Honestly, I would not "solve" this problem by trying to disable chunking --
seems like something between the client and server has a problem (since IIS
and IE both support chunked encoding just fine). Who knows what other issue
awaits you? I would also suggest taking the Network sniff to see the actual
request/response headers of the failing request and see if they are valid.
You are randomly adding headers/directives hoping to avoid problems but they
may be causing problems. You need to see/understand what is actually going
on the wire before you can determine what is right/wrong.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"z. f." <zi**@info-scopeREMSPAM.co .il> wrote in message
news:O0******** ******@TK2MSFTN GP09.phx.gbl...
when i run fiddler (http proxy/http monitor) the problem disappear, so i
guess it's some kind of client side implementation problem of receiving the
chunked HTTP.
the IE version is 6, running on windows 2003 server.

anyway, how can i disable the chunked http?
the asp is not chunked even though it uses response.flush.
TIA, z.

"David Wang [Msft]" <so*****@online .microsoft.com> wrote in message
news:OC******** ******@tk2msftn gp13.phx.gbl...
There is nothing "wrong" with chunked content encoding. HTTP defines many
valid ways to transfer entity body, and HTTP servers/browsers all know how
to do it correctly.

If I have to guess, it sounds like your page hit some server-side limit or
timeout that causes problems.

Chunked encoding simply means that the sending keeps sending data until a
"stop" token is sent. Thus, it is possible for you to see a truncated
response if the sending was somehow "stopped" before it was done.
Changing
to Content-Length won't necessarily solve the problem -- connection can
still stop before it is done.

The ASP sounds like it has Response.Buffer = true somewhere -- and
actually, telling large pages to buffer on the server is a bad idea in
general since it chews up that much memory per-request just for that page.

If nothing obvious comes up, I suggest using a Network sniffer like NetMon
or Ethereal to take a trace of such a truncated request and post it. It
should give clear details on what is going on.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no
rights.
//
"z. f." <zi**@info-scopeREMSPAM.co .il> wrote in message
news:u7******** ******@TK2MSFTN GP15.phx.gbl...
no, no and no

the only ISAPI is
v1.1.4322\aspne t_filter.dll

what i am using is response.flush, i hope that the implementation of this
is
not causing the chunked content encoding.
how can this be canceled?

i also changed the globalization entry of the Global.asax to have
responseEncodin g="windows-1255"

might this cause anything???

TIA, z.
"Kristofer Gafvert" <kg******@NEWSi lopia.com> wrote in message
news:xn******** ********@news.m icrosoft.com...
Hi,

Do you have any custom ISAPI filters enabled on the server?
Do you have Zone Alarm installed on this machine? We've seen some
strange
problems with IIS and Zone Alarm that looks similar to what you see.

--
Regards,
Kristofer Gafvert
www.gafvert.info - My Articles and help
www.ilopia.com
z. f. wrote:
hi,

i have a vb.net web application and i make a request using internet explorer to an aspx page. the aspx page size if over 170KB, and the page in internet explorer looks truncated and in the view-source the text/html is truncated in the
middle of a line. the last line looks like that: <td with

and that's it.

i checked the HTTP headers and saw that the aspx page have a Transfer-Encoding: chunked header, while asp page that have the same
logic
and is not traucated (it's smaller - about 80KB) does not have this
header.

can anyone help with this issue:
a. how can i, in order to check if this is the source of the problem, disable the chunked transfer encoding of the aspx page. b. what might be the problem?

i guess it is not client (iexplore) replated problem, but it might be a
problem with the receiver of the data and not with the sender (IIS ) of
the data.
TIA, z.


Nov 19 '05 #6

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

Similar topics

11
3761
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows 2003 Server or ADO or ODBC issue, I am posting this on all of the three newsgroups. That's the setup: Windows 2003 Server with IIS and ASP.NET actiavted Access 2002 mdb file (and yes, proper rights are set on TMP paths and path,
0
1079
by: Andy | last post by:
Hello Group: I have been directed to ask this question in this group. If this is the incorrect forum: please let me know. We have a web-app that uses remoting to access some components. XML from the web page is sent to these components and a value is returned. We have noticed that on one server: this works great, but on two other servers, after the XML gets to be bigger than 4KB, the XML gets truncated and as a result: the...
4
2072
by: Jay | last post by:
This is a strange one that I can't seem to find a fix for. We have a Billing DB application (Access 2000 format) where we upload billing info in a comma delimited text file to our printer who prints and mails our bills. The application basically creates a table then exports a comma delimited file of that table. The problem is that we keep getting one seemingly random record in the text file that is misaligned. The record in question is...
7
6146
by: vikky | last post by:
hi all, Out of sheer curosity, I decided to initialize an integer with a number bigger than INT_MAX, however I still am not able to justify its output. Here is the program : #include<stdio.h> int main(void) { int t=0xFFFFFFFFFFFFFFFFDABC;
0
2275
by: Leo Heska | last post by:
Hi I haven't seen the following problem mentioned anywhere We have an application written in VB.NET which executes a batch file (named startJob.cmd). We have discovered that if that batch file is too big, the last lines of the batch file will not run. For example, the following one-line batch file runs just fine when invoked from our VB.NET app echo %PATH% > c:\com\molex\plot\wmIntegration\logs\p0.lo but the following batch file...
0
3937
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen. It is almost like it is trying to implement it's own COM interfaces... below is the header, and a link to the dll+code: Zip file with header, example, and DLL:...
1
3213
by: automation | last post by:
There is a truncation error of my Web Application using PHP 5.04, MySQL 5.022, and HTML(IE 6.0) whereby the MySQL Result Set is being truncated on the HTML page, even though the CSS Div Page Height is set to 'auto' which is supposed to grow the HTML page height to the size necessary to display the contents within the page. The query count is correct, but the MySQL Result Set is being truncated on the html page. This happens for MySQL Results on...
4
7243
by: =?ISO-8859-1?Q?Hans_M=FCller?= | last post by:
Good morning folks, I cannot read a binary file into a mysql database. Everything I tried did not succeed. What I tried (found from various google lookups...) is this: con = MySQLdb.connect(to server) cur = con.cursor() cur.execute("insert into data values('file1', %s)", (open("test.jpg", "rb").read(), ))
7
3559
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the excellent transforms specified on Bob Powell's site, I still wonder if there's an easier way of centering it than the following procedure? Here is what I do now (it's awkward but it works): 1) I follow the transforms specified on Bob Powell's...
0
8888
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9176
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9113
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8097
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2635
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.