HighTechTalks DotNet Forums  

Cannot delete xml file

Dotnet Framework (Component Services) microsoft.public.dotnet.framework.component_services


Discuss Cannot delete xml file in the Dotnet Framework (Component Services) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
guinness57@gmail.com
 
Posts: n/a

Default Cannot delete xml file - 04-27-2007 , 07:36 AM






Hello

I'm doing a service to survey xml document deposed in a samba shared
directory.

When this service has done his job concerning an xml file (loaded in a
XmlDocument), it attempt to delete the file

but most of the time, it generate an error say the file could not be
deleted because he is in use by another process.

But i'm sure that there in no process other than this service that
acces the file....

I don't know what to do...

has someone had the probleme ?


Reply With Quote
  #2  
Old   
Michael Nemtsev
 
Posts: n/a

Default Re: Cannot delete xml file - 04-27-2007 , 10:32 AM






Hello guinness57 (AT) gmail (DOT) com,

check that the service is shut downed

---
WBR, Michael Nemtsev [.NET/C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

Quote:
has done his job concerning an xml file (loaded in a XmlDocument), it
attempt to delete the file

but most of the time, it generate an error say the file could not be
deleted because he is in use by another process.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.