Groups > Web Hosting > Web Hosting with IIS and ASP dotNET > Re: Kernal mode caching hell - How to disable




Kernal mode caching hell - How to disable

Kernal mode caching hell - How to disable
Mon, 31 Mar 2008 15:01:38 +000
Hi all

We are having issues with Kernal mode caching on our Win 2003 server (IIS 6 +
Service Pack 2).

Senario: The OS is hosting a classic ASP website, ASP.NET is installed on the
system but isnt activated on the website in question. A particular piece of code
within one of the pages checks the time and if the current time is within a
particular window it uses an HTTP GET to grab XML data from a remote site (It
does this only once per day) which contains exchange rate figures.

Problem: The HTTP GET, import, reading of the XML all works top notch BUT during
testing we noticed that after the initial import that any subsequent imports
seemed to uses a cached version of thew XML data.

I am not sure how long this caching lasts for, if it is flushed within a few
hours no problem but essentially I'd like to have Kernal Mode Caching completely
disabled on this machine as it is a pain for the current setup.

I have tried the method explained in http://support.microsoft.com/kb/917072 not
even knowing if this machine.config file has an impact on a non ASP.NET website.
I even tried the web.config to no avail. This includes IIS restarts (not PC
reboots).

 I also tried adding to the registry (The key pair values didn't exist to start
off with) the values noted within
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/technologies/weba
pp/iis/iis6perf.mspx

and rebooted the server as well, this also didnt work.

Any ideas, pointers and/or advice on how I can kil lthis feature would be
appreciated.

TIA

John
Post Reply
Re: Kernal mode caching hell - How to disable
Tue, 1 Apr 2008 13:10:09 +0000
IIS help is at www.iis.net.  Same login as here.

Jeff
Post Reply
about | contact