Okay, I found something out...
I'm using one XML file, data.xml, to store data in my app.
Each of the pages in the app loads data.xml into an XmlDocument
object (xd.Load(path)). Now when I acces this page directly once,
it updates the file. But every acces after that, the error occurs.
Now there are no errors Loading the file, only for Saving... So I
think the question now is how do I close the XmlDocument after
loading it?
I'm all confused now. :(
[edit]One last thing... If I Load and Save data1.xml (just a copy of
data.xml for testing), it works perfectly... So maybe I need to
Save every time I Load an XmlDocument in the other pages,
even if the XmlDocument isn't modified?[/edit]