Hi,
we get an System.InvalidCastException when comparing two documents:
An unhandled exception of type 'System.InvalidCastException' occurred in Aspose.Words.dll
Additional information: Das Objekt des Typs "Aspose.Words.Run" kann nicht in Typ "Aspose.Words.SpecialChar" umgewandelt werden.
Example code
static void Main(string[] args)
{
var lic = new License();
lic.SetLicense(@"S:\Aspose.Total.lic");
var doc = new Document(@"S:\tmp\old.doc");
doc.Compare(new Document(@"S:\tmp\new.doc"), "test", DateTime.UtcNow);
}
Files are attached.
Kind regards,
Daniel
documents.zip (86.4 KB)