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

Free Support Forum - aspose.com

Unrepresentable DateTime

in some cases when I execute this line of code:


I get exception: “The added or subtracted value results in an un-representable DateTime”

before this line of code I set the start date of the project, and calculationmode is “none”, I have multiple tasks that have start and end date filled, and these tasks have tree structure and don’t have task relations.
Can you help me?


Thank you for writing to Aspose support team.

I have tried to re-produce this scenario using sample tasks data but could not re-produce this issue. Could you please provide the sample code which does not contain extra program logic and just contains the Aspose.Tasks code along with the template file (if any)? It will help us to observe the problem and provide assistance accordingly.