> Seems that class that works with fike is not disposed correctly.
> Do u use using approach when work with your XML?
[quoted text clipped - 19 lines]
> > Thanks
> > JM
Try to rebuild you app in "release" mode (I mistyped with "Server" mode)
In debug CLR can prolong object GC to the end of code block, not scope, thus
your file can be open when you are trying to write into in.

Signature
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
> Hi Michael,
>
[quoted text clipped - 42 lines]
> > > Thanks
> > > JM
JM - 29 Sep 2006 11:15 GMT
Thanks for your help. I will test the app build in Release mode. I will
keep you posted about the results.
Thanks
JM
> Try to rebuild you app in "release" mode (I mistyped with "Server" mode)
> In debug CLR can prolong object GC to the end of code block, not scope, thus
[quoted text clipped - 53 lines]
> > > > Thanks
> > > > JM
JM - 30 Sep 2006 06:54 GMT
I tried running windows service app in Release mode also. But its still
locking the file.
JM
> Thanks for your help. I will test the app build in Release mode. I will
> keep you posted about the results.
[quoted text clipped - 59 lines]
> > > > > Thanks
> > > > > JM