Dear All,
I have one silverlight app,on click of one button,i,m reading values from xml file and displaying in textbox.On click of another button i,m writing values to the same xml file but it was throwing an exception that:
The process cannot access the file 'D:\data.xml' because it is being used by another process.How can i resolve this problem?
Thanks in advance.
The process cannot access the xml file
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 25, 2011, 1:53 AM EDT
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 24, 2011, 9:03 PM EDT
Your Silverlight app is OOB app which has "evaluated trust"?
Are you properly closing file streams?
mahesh112 reputationPosted Jul 24, 2011, 10:06 PM EDT
mahesh112 reputationPosted Jul 25, 2011, 2:45 AM EDT