P6 Primavera: Timespan overflowed because the duration is too long

I have a sample P6 XER file that originated in Primavera Cloud version 23.2. When trying to load into Aspose.Tasks it fails with the following error “TimeSpan overflowed because the duration is too long.”

        try {
            Project project = new Project(@"C:\TimespanTest.xer");
        } 
        catch (Exception ex) {
            Console.WriteLine(ex.Message);  

        }

image.png (15.2 KB)
TimespanTest.zip (60.6 KB)

This is using Aspose.Tasks version 23.4.0

@leglandpalisade
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): TASKSNET-10893

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

In case it’s helpful, this is the same project exported to xml format, which is also failing.

TimespanTestXML.zip (108.7 KB)

1 Like

The issues you have found earlier (filed as TASKSNET-10893) have been fixed in this update.