Re: one aspx page started returning garbage???

From: Les Caudle (very_at_tiredofspam.com)
Date: 11/27/04


Date: Sat, 27 Nov 2004 13:09:23 -0600

Well, this one is very strange.

It is 100% repeatable for IE for certain pages.

Seems to be related to Caching - or at least when I removed the OutputCache
listed below - I could no longer duplicate the problem.

Runing Win2000 Server SP4. .NET 1.1 SP1

The html code returned to IE is shown as follows. Any idea how to fix this? I
don't really want to disable OutputCaching.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML><HEAD>

<META http-equiv=Content-Type content="text/html; charset=utf-8">

<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>

<BODY>í½›r??ωU?(Þ„J?-Ñ‹SJ?-Ë’FrR9/*pä šÌ?0??ç½’?Ì?ëHId?넮ˤ

Ш;??\vo~?:????Op?ó®”¶?ÕŸ?É??{ѬԠF?X #dÌ‚j?ÚŸ}
?@????ß¼stqzÓ??7W???×£H?⺄݋Ϸ??o?K?q?

......on and on and on more trash ...
Τߣ*.Xƥ?</BODY></HTML>

Thanks, Les Caudle

On Sat, 27 Nov 2004 12:05:33 -0600, Les Caudle <very@tiredofspam.com> wrote:

>One aspx page on my site started displaying garbage. No errors, just a bunch of
>symbol characters.
>
>The page used C# code behind and Output Cachine:
><%@ OutputCache Duration="86400" VaryByParam="ProductID" %>
>
>I did not recompile the app - but only changed the modification date of the aspx
>file so that it would be recompiled - which fixed it.
>
>However, I'd sure like to know how to prevent it - as it displayed the same
>gargabe page for all the products on the site.
>
>Just upgraded to SP1 of .NET 1.1 yesterday.



Relevant Pages

  • Re: Urgent! Inconsistent execution of Page_Load() method call
    ... directive for Page1.aspx which seems to prevent IE from caching the ... the debugger stops on page_loadregardless of the Trace ... why I explicitly need to disable OutputCache if I have never ... > its Page_Loadand running the page in debug mode results in the ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • Re: OutputCacheSection
    ... specific MasterPage, but I want the ed StyleSheet from that MasterPage ... Can I set Page Caching settings in a MasterPage or in the ... think different from the "OutputCache SETTINGS" section). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: (Bug?) IIS Sends response to wrong client
    ... I replaced the directive with <%@ OutputCache Location="None" ... Gilles ... > Most likely you are caching and that is the issue you are seeing. ... >> But maybe there is something I missed in the Web server config. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • outputcache limitations?
    ... The following piece of code, when on a heavily loaded server (more than 50 ASP.NET pages, most using outputcache with varybyparam, lots of users), will only cache the string - the output is not cached, as if the outputcache is ignored. ... There is available RAM on the server. ... Should I reduce caching time on other pages, or remove caching from some pages to resolve the problem? ... Dim atest As String ...
    (microsoft.public.dotnet.framework.aspnet)
  • outputcache limitations?
    ... The following piece of code, when on a heavily loaded server (more than 50 ASP.NET pages, most using outputcache with varybyparam, lots of users), will only cache the string - the output is not cached, as if the outputcache is ignored. ... There is available RAM on the server. ... Should I reduce caching time on other pages, or remove caching from some pages to resolve the problem? ... Dim atest As String ...
    (microsoft.public.dotnet.framework.aspnet)