Re: IIS caching output of pages
From: Levi Rosol (Levi.rosol_at_iveldesigns.com)
Date: 03/11/04
- Next message: BethF: "data grid updating - date field throwing me for a loop"
- Previous message: Abhijeet Dev: "Re: Extra Large Uploads"
- In reply to: Nick Gilbert: "Re: IIS caching output of pages"
- Next in thread: Levi Rosol: "Re: IIS caching output of pages"
- Messages sorted by: [ date ] [ thread ]
Date: 11 Mar 2004 13:29:50 -0800
Hello-
I'd like to add to this post since I am having the same issue as
described above. Here are my server and development box specs:
Server:
Win 2k3 (was upgraded from 2k, not a fresh install)
IIS 6
.Net 1.1
Dev Box:
Win 2k3
IIS 6.0
.Net 1.1
VS.Net 2k3
I have been working on this issue for most of day (lots of googling)
and have yet to find a solution. Here is a recap of the details of how
i'm seeing this issue.
Created a c# web app project in vs.net. The site is a sub domain,
sub.mysite.com I have an aspx file called default.aspx in a sub folder
that is linking to a css *** within the same folder as the aspx
file:
<link rel="style***" type="text/css" href="more04/default.css">
I can make changes to the aspx file all day long, and see the changes
instantly every time. However, when it comes to the default.css file,
i cannot see my changes as i make them. When i stop/start iis, and
refresh my browser, i see the change. then i can make a change, and
when i refresh, i see it. but then when i make another change, i
refresh, and do not see the change. When i go to the css page in IE, i
get the old file. When i RDC into the web server, and open the file
into text pad, i see the file that should be served to the browser.
This tells me that it is an IIS caching issue, not an IE issue.
I've tried nearly everything i can think of, with the exception of
rebuilding the web server. I've ensured that IE is asking for a new
file on every request, i've tried to disable asp caching, i've tried
turning off buffering, but nothing seems to work.
I seem to remember a situation very much like this about 2 years ago
when i first started .net development for another company, and seem to
remember that the fix was to make a change to the registry. I've
searched high and low, and have yet to find anything that works.
Steve, it would be great if you could get someone in this group that
could post a link to the hotfix so we could give it a try. I would
also like some more info on the possible downsides to this patch so I
have an idea of what to look for if it damages other parts of iis.
Thanks
Levi Rosol
http://www.iveldesigns.com
Nick Gilbert <news@nickgilbert.com> wrote in message news:<OOTCy1DAEHA.1796@TK2MSFTNGP12.phx.gbl>...
> Steven,
>
> Thanks, but the post does not include the URL of the hotfix, and the KB
> article ID it refers to doesn't exist (832911). In fact there doesn't
> seem to be a section on the knowledge base at all for IIS 6 - it stops
> at IIS 5. If this is a known problem, then surely I shouldn't have to
> pay to get a simple hotfix? Additionally, do you know the URL or ID of
> the article that you posted (as below) as I can't find that on the
> knowledge base either.
>
> Thanks,
>
> Nick...
>
> Steven Cheng[MSFT] wrote:
>
> > Hi Nick,
> >
> > After further research, I found that there seems an issue on IIS6's
> > caching, here is the detailed description on it:
> >
> > ----------------------------------------------------------------
> > In Microsoft Internet Information Services 6.0, if your Web site is
> > configured for both an IP address and host headers, any change that you
> > make to the static content does not appear immediately.
> >
> > CAUSE
> > =====
> >
> > This problem occurs because of the way that the content is stored in the
> > Http.sys cache.
> >
> > RESOLUTION
> > ==========
> >
> > Hotfix information
> > ------------------
> > A supported hotfix is now available from Microsoft, but it is only intended
> > to correct the problem that is described in this article. Only apply it to
> > systems that are experiencing this specific problem. This hotfix may
> > receive additional testing. Therefore, if you are not severely affected by
> > this problem, Microsoft recommends that you wait for the next Windows
> > Server 2003 service pack that contains this hotfix.
> >
> > To resolve this problem immediately, contact Microsoft Product Support
> > Services to obtain the hotfix. For a complete list of Microsoft Product
> > Support Services phone numbers and information about support costs, visit
> > the following Microsoft Web site:
> >
> > http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS:
> > http://support.microsoft.com/default.aspx?scid=fh;[LN];CNTACTMS
> >
> > Note In special cases, charges that are ordinarily incurred for support
> > calls may be canceled if a Microsoft Support Professional determines that a
> > specific update will resolve your problem. The usual support costs will
> > apply to additional support questions and issues that do not qualify for
> > the specific update in question.
> >
> >
> > Restart requirement
> >
> > You must restart your computer after you apply this hotfix
> >
> >
> > File information
> > The English version of this hotfix has the file attributes (or later) that
> > are listed in the following table. The dates and times for these files are
> > listed in coordinated universal time (UTC). When you view the file
> > information, it is converted to local time. To find the difference between
> > UTC and local time, use the "Time Zone" tab in the Date and Time tool in
> > Control Panel.
> >
> > Date Time Version Size File name
> > ------------------------------------------------------
> > 10-Dec-2003 00:37 5.2.3790.110 334,336 Http.sys
> > 10-Dec-2003 01:18 5.2.3790.110 27,648 Httpapi.dll
> > 10-Dec-2003 01:18 6.0.3790.110 338,432 W3core.dll
> >
> > Note If you are also experiencing the symptoms that Microsoft Knowledge
> > Base article 832911 describes, apply this hotfix before you apply hotfix
> > 832911.
> >
> > --------------------------------------------------------
> >
> > However, this issue is still in testing. Not sure whether your problem due
> > to it.
> >
> > In addtion, you should also verify whether or not this is a kernel mode
> > caching issue you're dealing with by temporarily disabling the kernel mode
> > cache (UriEnableCache=0, etc.). For details on this, refer to
> > http://support.microsoft.com/?id=820129.
> >
> > Please check out the above items. Hope they are helpful.
> >
> >
> > Regards,
> >
> > Steven Cheng
> > Microsoft Online Support
> >
> > Get Secure! www.microsoft.com/security
> > (This posting is provided "AS IS", with no warranties, and confers no
> > rights.)
> >
> > Get Preview at ASP.NET whidbey
> > http://msdn.microsoft.com/asp.net/whidbey/default.aspx
> >
- Next message: BethF: "data grid updating - date field throwing me for a loop"
- Previous message: Abhijeet Dev: "Re: Extra Large Uploads"
- In reply to: Nick Gilbert: "Re: IIS caching output of pages"
- Next in thread: Levi Rosol: "Re: IIS caching output of pages"
- Messages sorted by: [ date ] [ thread ]