Re: Whole ASP Page not Served unless 'Enable Buffering' is Off

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 02/24/04


Date: Tue, 24 Feb 2004 13:24:48 +1100

Hmm - I've had a bit of a think about this. Maybe, if no one else chimes in,
you could try a couple of tests:

a) take the HTML that is generated by the search.asp page, and cut-n-paste
it into a new HTML page. Create a test folder on your server, enable
buffering, and put the test.html page in that folder. Can you get the entire
contents?

b) If (a) works, renamed the file to test.asp (even though it has no
server-side ASP code in it), and request the page again. Does it still work?

c) If it doesn't work, does it work if you put <%Response.Flush%> through
the page (eg maybe after each third of the page)?

Cheers
Ken

"David Morgan" <david@davidmorgan.me.uk> wrote in message
news:uL4Xubh%23DHA.3428@tk2msftngp13.phx.gbl...
: Hi Ken
:
: You are correct, because this is a live site and the problem only exists
: here, I have had to disable buffering so that it can function.
:
: There could well be proxies/caching servers, who knows these days with the
: broadband providers etc. Suffice to say that whether I am subject to them
: or not, the site users could be too and I am not personally subject to any
: special configuration save a hardware firewall. Several visitors to the
: _new_ site have reported this problem so I am sure it is server related.
:
: I will have a look at ether real and as we own the server we can install
: whatever we like to test.
:
: Thanks again for your help on this.
:
: Regards
:
: David
:
:
:
: "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
: news:u0ZAa5g%23DHA.3816@tk2msftngp13.phx.gbl...
: > Hi there
: >
: > I assume the site isn't using buffering at the moment (which you say
: allows
: > it to work fine). I did have a quick look following your instructions,
and
: > it loads fine for me.
: >
: > The image files you refer to in the first paragraph would not be
included
: in
: > the page size - they are separate resources, and IE would download them
: > separately to the actual .asp page.
: >
: > Is there any proxy or similar between you and the server that might be
: > interfering? Otherwise, I'd grab a copy of ethereal (www.ethereal.com)
and
: > run it on the client machine, and see what's going back and forwards
: between
: > you and the server. This probably won't be as helpful as running it on
the
: > server, since we can't see what the server thinks is happening, but at
: least
: > you'll only have a limited set of data (the responses etc coming in to
: your
: > local client workstation).
: >
: > Maybe there's someone else around that has experienced this particular
: issue
: > who can comment...
: >
: > Cheers
: > Ken
: >
: >
: > --
: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: > "David Morgan" <david@davidmorgan.me.uk> wrote in message
: > news:OZefyZg%23DHA.1424@TK2MSFTNGP12.phx.gbl...
: > : Hi Ken
: > :
: > : Thanks for responding so quickly.
: > :
: > : I am not sure if the problem is "content length" related, but IE tells
: me
: > : that the resulting page is 59353 bytes. Whilst not large by today's
: > : broadband connected users the page does have up to 50 thumbnail jpegs
on
: > it
: > : which I don't know if IE includes in this page size value.
: > :
: > : I have tried this with IE on W2K and XP. Because the HTML is
formatted
: > with
: > : a <table> IE does not show any output because the </table> tag is
never
: > : received. Netscape does a good job at displaying the received HTML
and
: > the
: > : content just stops where it stopped receiving any HTML.
: > :
: > : The server is running W2K SP4 with all Updates applied, SQL Server
2000
: > SP3.
: > : Our ISP has enforced that we run anti-virus so they installed AVG from
: > : Grisoft. The server is made up of 4 x Xeon processors, 1Gb RAM and
72Gb
: C
: > : drive mirrored, 134 D drive in a RAID 5 configuration.
: > :
: > : I have not put a trace on the network because a) I wouldn't know how
to
: do
: > : this and b) the site is active, 100 unique IPs per hour and I would be
: > : confronted with a lot of trace data I imagine.
: > :
: > : Thanks
: > :
: > : David M
: > :
: > : P.S. You can see the site if you want but I must stress it is for an
: adult
: > : audience, if you do choose to visit it, please satisfy yourself with
the
: > : statements on the entry page before entering. Once in to the site the
: > page
: > : in question is the search page. If you say you are looking for
Females
: > and
: > : order the results be registered date, with buffering enabled the HTML
: > stops
: > : at about a third of the way down the second column of search results,
: > about
: > : 30 out of 50 results displayed. The site can be accessed here:
: > : http://www.adultwork.co.uk/
: > :
: > :
: > :
: > : "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
: > : news:u2Mc$Lg%23DHA.3500@TK2MSFTNGP10.phx.gbl...
: > : > Hmm - how much is a "significant amount"?
: > : >
: > : > Also, what client are you using? What server/OS/IIS version are you
: > using?
: > : >
: > : > Lastly, have you put a trace on the network to see what's actually
: > : > happening?
: > : >
: > : > Cheers
: > : > Ken
: > : >
: > : > "David Morgan" <david@davidmorgan.me.uk> wrote in message
: > : > news:%23HDizCg%23DHA.2660@TK2MSFTNGP10.phx.gbl...
: > : > : Hi
: > : > :
: > : > : I am experiencing a problem whereby IIS is not delivering all of
the
: > : > : resulting HTML output from an ASP Page. I have tested this on
: several
: > : PCs
: > : > : and browsers and although the HTML returned varies, in all cases
the
: > : whole
: > : > : of the page is not returned.
: > : > :
: > : > : We have recently moved this website from a under-specified server
to
: a
: > : > very
: > : > : highly specified machine. On the old machine we never had this
: > problem.
: > : > :
: > : > : The problem is not only with one page, but with several that
return
: a
: > : fair
: > : > : amount of HTML.
: > : > :
: > : > : If I turn off "Enable Buffering" in the website property pages IIS
: > : returns
: > : > : all the HTML as desired but the performance degrades markedly.
: > : > :
: > : > : Can anyone help me work this out so I can turn buffering back on?
: > : > :
: > : > : Thanks
: > : > :
: > : > : David M
: > : > :
: > : > :
: > : >
: > : >
: > :
: > :
: >
: >
:
:



Relevant Pages

  • Re: Whole ASP Page not Served unless Enable Buffering is Off
    ... Is there any proxy or similar between you and the server that might be ... Netscape does a good job at displaying the received HTML and the: content just stops where it stopped receiving any HTML. ... : I have not put a trace on the network because a) I wouldn't know how to do: this and b) the site is active, 100 unique IPs per hour and I would be: confronted with a lot of trace data I imagine. ... If you say you are looking for Females and: order the results be registered date, with buffering enabled the HTML stops: at about a third of the way down the second column of search results, about: 30 out of 50 results displayed. ...
    (microsoft.public.inetserver.iis)
  • Re: How to do a post back when user press enter.
    ... It is hosted on a web server, ... the client browser, which is designed to read and interpret HTML. ... UI, via the event handler. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: PHP-Yes, HTML-No --- Why?
    ... The .html signifies that the file contains HTML - and pretty ... A php script contains both HTML and PHP code so technically speaking it's not just HTML. ... The user is getting a file from your web server, an HTML file, and it has an extension of something other than HTML. ... I hope you weren't configuring them as per your personal likes and dislikes but instead were configuring them as per the customer requirements and for speed, ...
    (comp.lang.php)
  • Re: PHP-Yes, HTML-No --- Why?
    ... You are arguing to have ..html at the end of every URL even if the file contains PHP or another scripting language. ... By that very figure you are in the minority and I'd venture to guess the the number of people who really, really care about such trivial things such as yourself is probably closer to .1% in the real population. ... FTP requests are not HTTP. ... The point about MP3 files is that if you configure your web server to treat every file as potentially having dynamic content and that it should search through the entire file looking to determine exactly which language might be in use in the file and hand it off to the appropriate parser, interpreter or module then you are gonna have to contend with the fact that occasionally you're gonna be charging the web server with reading and parsing potentially huge files - all in the name of a foolish consistency. ...
    (comp.lang.php)
  • Problem with some Pages? - Re: More piccies
    ... >> in Firefox, Biffo. ... Yep, or to be more exact, what the *Browser* is seeing in the HTML ... the same Server, which just happened to have a single Character ... the Pages/Pics using BackSlashes or ForwardSlashes! ...
    (uk.people.silversurfers)