We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.word.dll error “unclosed literal string” / “out of memory”

Hi
https://thedigitalgroupsharangpatil.sharefile.com/d-sae2a739a3794614b
I tried to open above docx file using below methods, but latest aspose.word.dll (18.5.0.0) thrown ‘out of memory error’ and version “16.7.0.0” 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")

Thank you,

A post was merged into an existing topic: Aspose.word.dll error “unclosed literal string” / “out of memory”