I tried to open above docx file using below methods, but latest aspose.word.dll (22.214.171.124) thrown ‘out of memory error’ and version “126.96.36.199” thrown error “There is an unclosed literal string. Line 1, position 268434684.”
Can you please check whats wrong with doc file / dll ?
Document doc = null;
using (Stream stream = new FileStream(@“D:\Federal–Sec-tempPath.docx”, FileMode.Open, FileAccess.Read, FileShare.ReadWrite))
doc = new Document(stream);
Document report = new Aspose.Words.Document(@"D:\Federal--Sec-tempPath.docx")