M
Michiel
Hello,
I have a problem with a web server running Windows 2000 Server Service
Pack 4.
After the server has been running for a while (not sure how long),
attempts to delete certain files fail. This has happened with old IIS
log files. The system seems to think the file is locked ("Cannot
delete ...: There has been a sharing violation. The source or
destination file may be in use.").
However, I have no indication that the file is actually open by any
other process. The log file is over a year old and IIS is set to start
a new log file once a week. The file is not listed in Computer
Management/Shares/Open Files. I've used the Sysinternals Handle and
Process Explorer and the log file doesn't show up anywhere. I've tried
closing various processes (including IIS), but it doesn't make a
difference.
One more detail: the file is compressed. I can turn the compressed
state off and back on without errors. I can even open the file in
Notepad, edit it and save it. But I cannot delete it.
Nothing in the Event Log that seems related. No disk errors.
After a server restart everything is back to normal.
Please advise.
Thank you,
Michiel
I have a problem with a web server running Windows 2000 Server Service
Pack 4.
After the server has been running for a while (not sure how long),
attempts to delete certain files fail. This has happened with old IIS
log files. The system seems to think the file is locked ("Cannot
delete ...: There has been a sharing violation. The source or
destination file may be in use.").
However, I have no indication that the file is actually open by any
other process. The log file is over a year old and IIS is set to start
a new log file once a week. The file is not listed in Computer
Management/Shares/Open Files. I've used the Sysinternals Handle and
Process Explorer and the log file doesn't show up anywhere. I've tried
closing various processes (including IIS), but it doesn't make a
difference.
One more detail: the file is compressed. I can turn the compressed
state off and back on without errors. I can even open the file in
Notepad, edit it and save it. But I cannot delete it.
Nothing in the Event Log that seems related. No disk errors.
After a server restart everything is back to normal.
Please advise.
Thank you,
Michiel