Hi,
I am trying to load the attached doc file with Aspose.Words .NET 21.7 but there is an exception with the message The document appears to be corrupted and cannot be loaded.
and InnerException message Capacity must be positive. Parameter name: capacity
while the file is opened successfully. Can you review the sample and give me advice?
Code:
try
{
var doc = new Document(@“sample.doc”);
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
Console.WriteLine(“Done”);
Thanks sample.zip (13.0 KB)