If I replace a file in a virtual directory, public access still is using the
old version. Is this to do with caching? How can I reset the cache per
directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/aspx/po by RamonJimenez

RamonJimenez
Wed Jun 20 08:50:21 CDT 2007

Try unloading application pool in the site Home directory Tab.

Next may be restarting site, restarting web service and if none of them
works the last one is rebooting machine.

"EdwardH" wrote:

> If I replace a file in a virtual directory, public access still is using the
> old version. Is this to do with caching? How can I reset the cache per
> directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by EdwardH

EdwardH
Wed Jun 20 10:03:00 CDT 2007

On further exploration I find that it is only my LAN/WAN that seems to be
using a old cache. any public browser is receiving the newer pages correctly.

"Ramon Jimenez" wrote:

> Try unloading application pool in the site Home directory Tab.
>
> Next may be restarting site, restarting web service and if none of them
> works the last one is rebooting machine.
>
> "EdwardH" wrote:
>
> > If I replace a file in a virtual directory, public access still is using the
> > old version. Is this to do with caching? How can I reset the cache per
> > directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by RamonJimenez

RamonJimenez
Wed Jun 20 10:27:04 CDT 2007

Have you checked your browser cache settings?

"EdwardH" wrote:

> On further exploration I find that it is only my LAN/WAN that seems to be
> using a old cache. any public browser is receiving the newer pages correctly.
>
> "Ramon Jimenez" wrote:
>
> > Try unloading application pool in the site Home directory Tab.
> >
> > Next may be restarting site, restarting web service and if none of them
> > works the last one is rebooting machine.
> >
> > "EdwardH" wrote:
> >
> > > If I replace a file in a virtual directory, public access still is using the
> > > old version. Is this to do with caching? How can I reset the cache per
> > > directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by EdwardH

EdwardH
Wed Jun 20 11:23:01 CDT 2007

I think it may be a local DNS cache issue. On local machine if I ping the
domain name, it comes back with an IP address of an old Server. How do I
flush local DNS cache?

"Ramon Jimenez" wrote:

> Have you checked your browser cache settings?
>
> "EdwardH" wrote:
>
> > On further exploration I find that it is only my LAN/WAN that seems to be
> > using a old cache. any public browser is receiving the newer pages correctly.
> >
> > "Ramon Jimenez" wrote:
> >
> > > Try unloading application pool in the site Home directory Tab.
> > >
> > > Next may be restarting site, restarting web service and if none of them
> > > works the last one is rebooting machine.
> > >
> > > "EdwardH" wrote:
> > >
> > > > If I replace a file in a virtual directory, public access still is using the
> > > > old version. Is this to do with caching? How can I reset the cache per
> > > > directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by RamonJimenez

RamonJimenez
Thu Jun 21 02:07:02 CDT 2007

Ipconfig /flushdns

"EdwardH" wrote:

> I think it may be a local DNS cache issue. On local machine if I ping the
> domain name, it comes back with an IP address of an old Server. How do I
> flush local DNS cache?
>
> "Ramon Jimenez" wrote:
>
> > Have you checked your browser cache settings?
> >
> > "EdwardH" wrote:
> >
> > > On further exploration I find that it is only my LAN/WAN that seems to be
> > > using a old cache. any public browser is receiving the newer pages correctly.
> > >
> > > "Ramon Jimenez" wrote:
> > >
> > > > Try unloading application pool in the site Home directory Tab.
> > > >
> > > > Next may be restarting site, restarting web service and if none of them
> > > > works the last one is rebooting machine.
> > > >
> > > > "EdwardH" wrote:
> > > >
> > > > > If I replace a file in a virtual directory, public access still is using the
> > > > > old version. Is this to do with caching? How can I reset the cache per
> > > > > directory?

RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by EdwardH

EdwardH
Thu Jun 21 03:45:01 CDT 2007

We ran ipconfig /flushdns and also ran Clear Cache in Cashlookups in DNS
Manager. Cache is cleared and then I ping domain and the old IP Address
returns in Cache. Where is the individual value set, can it be set manually?
I have got over problem by using hosts file but that is abit of a blunt
instrument!
Thanks for all your help.

"Ramon Jimenez" wrote:

> Ipconfig /flushdns
>
> "EdwardH" wrote:
>
> > I think it may be a local DNS cache issue. On local machine if I ping the
> > domain name, it comes back with an IP address of an old Server. How do I
> > flush local DNS cache?
> >
> > "Ramon Jimenez" wrote:
> >
> > > Have you checked your browser cache settings?
> > >
> > > "EdwardH" wrote:
> > >
> > > > On further exploration I find that it is only my LAN/WAN that seems to be
> > > > using a old cache. any public browser is receiving the newer pages correctly.
> > > >
> > > > "Ramon Jimenez" wrote:
> > > >
> > > > > Try unloading application pool in the site Home directory Tab.
> > > > >
> > > > > Next may be restarting site, restarting web service and if none of them
> > > > > works the last one is rebooting machine.
> > > > >
> > > > > "EdwardH" wrote:
> > > > >
> > > > > > If I replace a file in a virtual directory, public access still is using the
> > > > > > old version. Is this to do with caching? How can I reset the cache per
> > > > > > directory?

Re: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by Daniel

Daniel
Thu Jun 21 04:17:46 CDT 2007

EdwardH wrote on Thu, 21 Jun 2007 01:45:01 -0700:

> We ran ipconfig /flushdns and also ran Clear Cache in Cashlookups in DNS
> Manager. Cache is cleared and then I ping domain and the old IP Address
> returns in Cache. Where is the individual value set, can it be set
> manually? I have got over problem by using hosts file but that is abit of
> a blunt instrument!
> Thanks for all your help.

Do you have internal DNS system, or Active Directory? If so you'll need to
track down which server is caching it and get the cache cleared at the
source, as your PC will just pick it up from that stale server each time you
clear the local cache.

Dan



RE: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by RamonJimenez

RamonJimenez
Thu Jun 21 04:20:01 CDT 2007

Well it seems like that there must be a problem with DNS servers.

"EdwardH" wrote:

> We ran ipconfig /flushdns and also ran Clear Cache in Cashlookups in DNS
> Manager. Cache is cleared and then I ping domain and the old IP Address
> returns in Cache. Where is the individual value set, can it be set manually?
> I have got over problem by using hosts file but that is abit of a blunt
> instrument!
> Thanks for all your help.
>
> "Ramon Jimenez" wrote:
>
> > Ipconfig /flushdns
> >
> > "EdwardH" wrote:
> >
> > > I think it may be a local DNS cache issue. On local machine if I ping the
> > > domain name, it comes back with an IP address of an old Server. How do I
> > > flush local DNS cache?
> > >
> > > "Ramon Jimenez" wrote:
> > >
> > > > Have you checked your browser cache settings?
> > > >
> > > > "EdwardH" wrote:
> > > >
> > > > > On further exploration I find that it is only my LAN/WAN that seems to be
> > > > > using a old cache. any public browser is receiving the newer pages correctly.
> > > > >
> > > > > "Ramon Jimenez" wrote:
> > > > >
> > > > > > Try unloading application pool in the site Home directory Tab.
> > > > > >
> > > > > > Next may be restarting site, restarting web service and if none of them
> > > > > > works the last one is rebooting machine.
> > > > > >
> > > > > > "EdwardH" wrote:
> > > > > >
> > > > > > > If I replace a file in a virtual directory, public access still is using the
> > > > > > > old version. Is this to do with caching? How can I reset the cache per
> > > > > > > directory?

Re: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by EdwardH

EdwardH
Thu Jun 21 05:56:00 CDT 2007

We have two DNS Servers and we flushed both. Can you edit the cache value? I
cannot work out where PC's are picking it up from

"Daniel Crichton" wrote:

> EdwardH wrote on Thu, 21 Jun 2007 01:45:01 -0700:
>
> > We ran ipconfig /flushdns and also ran Clear Cache in Cashlookups in DNS
> > Manager. Cache is cleared and then I ping domain and the old IP Address
> > returns in Cache. Where is the individual value set, can it be set
> > manually? I have got over problem by using hosts file but that is abit of
> > a blunt instrument!
> > Thanks for all your help.
>
> Do you have internal DNS system, or Active Directory? If so you'll need to
> track down which server is caching it and get the cache cleared at the
> source, as your PC will just pick it up from that stale server each time you
> clear the local cache.
>
> Dan
>
>
>

Re: IIS 6 File replace and cachinghttp://www.microsoft.com/wn3/asp by Daniel

Daniel
Thu Jun 21 09:41:54 CDT 2007

EdwardH wrote on Thu, 21 Jun 2007 03:56:00 -0700:

> We have two DNS Servers and we flushed both. Can you edit the cache value?
> I cannot work out where PC's are picking it up from
>
> "Daniel Crichton" wrote:
>
>> EdwardH wrote on Thu, 21 Jun 2007 01:45:01 -0700:
>>
>>> We ran ipconfig /flushdns and also ran Clear Cache in Cashlookups in DNS
>>> Manager. Cache is cleared and then I ping domain and the old IP Address
>>> returns in Cache. Where is the individual value set, can it be set
>>> manually? I have got over problem by using hosts file but that is abit
>>> of a blunt instrument! Thanks for all your help.
>>
>> Do you have internal DNS system, or Active Directory? If so you'll need
>> to track down which server is caching it and get the cache cleared at the
>> source, as your PC will just pick it up from that stale server each time
>> you clear the local cache.
>>
>> Dan
>>



On the PC, check the DNS server settings using a command prompt and typing

ipconfig /all

next, check each of those DNS servers and clear their caches, and check to
see if they have any resolvers/forwarders configured, and check those too.
Continue working down the chain until you find the server that has the stale
cache.

Are you definitely sure that the authoritative servers for the domain have
the correct IP address for the host name? If you don't sort those out first,
then the caches will be updated with the wrong information again. You
mentioned that public browsers get the correct IP address, so I'm guessing
these are correct, but there's always a chance that the public are getting
the IP from say the primary DNS server for your domain, and your internal
users are picking up from a secondary, and the secondary has been updated
correctly because the SOA record in the primary wasn't updated.

Dan