System.IO.IOException: because it is being used by another proces
- From: Tao <Tao@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Jul 2005 14:11:01 -0700
When i was trying to recursively delete a directory:
Directory.Delete(mydirectory,true);
It threw the following exception for a lot of files:
System.IO.IOException: The process cannot access the file "abc.xsl" because
it is being used by another process.
Upon further examincation, it is found that these files are all zero-byte
empty files.
Someone suggested that it might be caused by aggressive AV programs, so i
disabled AV on the box and retried, but still got the same errors.
Any clue on what might be the problem? It is running .NET 1.1 on Windows
2003 standard edition.
Thanks!
.
- Follow-Ups:
- Re: System.IO.IOException: because it is being used by another proces
- From: Lloyd Dupont
- Re: System.IO.IOException: because it is being used by another proces
- Prev by Date: Re: Crystal Reports Keycode dll not found error on some machines
- Next by Date: Windows Service freeze
- Previous by thread: DLLImport and unmanaged function Polygon from Win32API
- Next by thread: Re: System.IO.IOException: because it is being used by another proces
- Index(es):
Relevant Pages
|