Quantcast
Channel: Open XML Format SDK forum
Viewing all articles
Browse latest Browse all 1288

After save document, I can not open saved document OpenXML SDK 2.5

$
0
0

After I save document (object Document open myfile.docx and save it as myfileEdited) Document.SaveAs("myfileEdited.docx"); or I use Close(); when I call 

using (WordprocessingDocument Document2 = WordprocessingDocument.Open("myfileEdited.docx", true)) 
{
// ...
}

it crash here and I got message 

"Unhandled Exception: System.IO.IOException: The process cannot access the file 'path to file' because it is being used by another process."



Viewing all articles
Browse latest Browse all 1288

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>