Groups | Blog | Home
all groups > dotnet faqs > january 2004 >

dotnet faqs : The file is being used by some other process


William Ryan
1/14/2004 12:16:39 AM
Jagadeesh:

It'd help if you posted the code, but how are you reading the XML file?
DataSet.ReadXML or XMLReader? I'm guessing from your post it's the latter,
but if that's the case, why are you leaving the reader open? (I may be
misunderstanding your post, but if the reader is closed, how is it still
open?).

Let me see the code and hopefully I can be of more help.

Bill
[quoted text, click to view]

Jagadeesh
1/14/2004 10:05:59 AM
hi ,

Am trying to read from and write to a same xml file.i have no prob when
reading the xml file.but when i write to the same file i get the following
error even after closing the reader object(which is open).

The file is being used by some other process.

regards
Jagadeesh

AddThis Social Bookmark Button