I want to edit a xml file. I can open, edit and save (overwrite) the file on the local drive.
I can open and edit the file on the network drive. I also can save it to a new path, but I cant overwrite the file.
Dim localPath As String = "C:\...\file.xml" 'works
Dim networkPath As String = "Y:\...\file.xml" 'doesnt work
Dim networkPath2 As String = "\\my.network.local\...\file.xml" 'doesnt work
Dim doc As XElement
doc = XElement.Load(networkPath)
doc.Save(networkPath)
I get this exception, when I try to save: System.IO.IOException: "The request is not supported."
Thanks for your help.