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

Free Support Forum - aspose.com

Aspose.Tasks - System.OverflowException when opening MSP 2016 file


When I try and open MPP file created with MSP 2016 I get the following error: “Arithmetic operation resulted in an overflow.”

I am using the following sample code:

namespace AsposeTests
    internal class Program
        static void Main(string[] args)
            var project = new Aspose.Tasks.Project(@"testproject.mpp");


  • Visual Studio 2022
  • .NET 4.8
  • Windows 11
  • Microsoft Project Professional 2016 (version 2206, build 15330.20230)


this is a known issue related to changes in MPP structure introduced by update 16.0.15330.20230.
The fix will be released in v. 22.7. (E.T.A - this week).

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