Free Support Forum -

System.ArgumentOutOfRangeException: Ticks Bug

I just upgraded to version of Aspose.Word to fix a issue I had combining documents. Unfortunatly upgrading cause another issue with certain documents. The following is the error that i receved:

System.ArgumentOutOfRangeException: Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks.
Parameter name: ticks
at ?.?.Save(Document document, Stream stream, String fileName)
at Aspose.Word.Document.Save(String fileName, SaveFormat fileFormat)

Attach is sample app that you can use to reproduce the issue. I really wish for you folks to find a fix to ASAP cause it is causing alot issue for my clients.

Here is the sample application that causes the error.

Thanks for the report. The error is caused by a very strange big value of the Total Editing Time built-in document property. I’ve fixed this and it will be released in 3.1.7 in the next couple of days.