For cause 1:
Verify that both the cache and destination directories have Read, Write, Execute , and Delete permissions for the anonymous user (typically IUSR_MachineName).
For cause 2:
Use the ServerName property to determine the correct syntax.
For cause 3:
In order to be able to rewrite ASP or HTM files with IIS4, you must set the
following registry keys, located at
HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Services
\InetInfo
\Parameters
DisableMemoryCache REG_DWORD, set to 1. This will disable *ALL* caching,
and will clearly impact server performance. You should do this only on a
development machine.
ObjectCacheTTL REG_DWORD, set to 1. By default it is 30. This is
the number of seconds that IIS will keep the file in memory *and
locked*. If you reduce this to 1, IIS will remove it from cache in 1
second, and you can then overwrite it. This will work with all but the
most heavily loaded servers. If the uploaded file is continually being
accessed, then changing this registry parameter will have no effect,
since the file will constantly stay in the IIS cache. Note that 1 second
is just a suggestion, and different values may be appropriate in other
circumstances, depending on your server load and frequency of update of
these files. This is a global parameter and will potentially moderately
impact overall server performance.
|