IOException

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hai al
In my project i am deleting a file using file.Delete() method but some times it returns the following exceptio
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dl

Additional information: The process cannot access the file "C:\SCNET01\SCRecentFiles\GC_COPE_ETUDES" because it is being used by another process

But no other aplication is running how can i solve this problem
 
Download this:

http://www.sysinternals.com/ntw2k/freeware/handle.shtml

and then you can see who really is holding onto your file.

Simon

Sivaraj said:
Hai all
In my project i am deleting a file using file.Delete() method
but some times it returns the following exception
An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll

Additional information: The process cannot access the file
"C:\SCNET01\SCRecentFiles\GC_COPE_ETUDES" because it is being used by
another process.
 
Back
Top