By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,052 Members | 1,303 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,052 IT Pros & Developers. It's quick & easy.

Windows Service is locking xml file - Need help

P: n/a
I am working on an application which uses xml file as a database. The
application has 2 interfaces which accesses this xml file. "Windows
application written in C#" and "Windows Service written in C#". Both
have been developed in .NET Framework 2.0.

Recently I have started getting error in Windows application that "xml
file is being locked by some other process". I have debugged and find
out that its my Windows Service which is locking the xml file some

When service is using xml file at that time I am not accessing the
Windows application. But still sometimes my Windows Service locks the
file. And once it locks the file its locked fore ever and once I stop
the service only then it unlocks it.

I am using LocalSystem a/c for service.

I would really appreciate if anybody can help me in this.


Sep 28 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.