Get "The specified package is invalid. The main part is missing" from WordProcessingDocument.Open()
I have two files: One is original file and another is Save As version from the original file.
Original get error at WordprocessingDocument.Open. Save As version is able to process normally.
I compared two files xml but nothing suspicious found.
The path and fileName is valid but it will hit error.
using (var wordDoc = WordprocessingDocument.Open(path + "/" + fileName, true))
“The specified package is invalid. The main part is missing.”