I tried to open attached docx file using below methods, but latest aspose.word.dll (126.96.36.199) thrown ‘out of memory error’ and version “188.8.131.52” 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");