Free Support Forum -

Exception: An item with the same key has already been added on reading MPP file (C# .NET)


An exception is thrown while reading the MPP file attached.

‘An item with the same key has already been added. Key: 0. Parameter name: key’

I can see that this issue has been faced and then fixed many times in the last few years :

Thank you for your help! (74.9 KB)

Hello! What version of Aspose.Tasks do you use? Aspose.Tasks for Java 19.9 or Aspose.Tasks for .NET 19.9?

I have observed the issue shared by you and have created an issue with ID TASKSJAVA-991 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be addressed.

Hi ! We are using Aspose.Tasks for .NET 19.6.0

Can you check it on the latest Aspose.Tasks for .NET 19.9?

Sorry I cannot try with the latest version right now, but I will upgrade asap. Could you please try with the latest version if you reproduce it or not ?

Thank you

There is no issue on Aspose.Tasks for .NET 19.9.