IOException

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
 
S

Simon Sheffield

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top