MPP TasksReadingException

Hello,I am experiencing a TasksReadingException for a Mpp file when the task project is being created. I have attached the code where it fails, the exception log and the file is Here:
https://qa1.e-builder.net/da2/documents/FolderList.aspx?FolderID=%7bfa142a3d-c6e6-4492-a6a8-33a103f99896%7d&FormsTabOn=1#

-------------------------------------------------------------------------------------------------------------------

If fileExtension = ".mpp" Then

Dim project As Aspose.Tasks.Project

Dim filePath As String = System.Configuration.ConfigurationManager.AppSettings("DataStorePath") & "\Temp" & "\" & ViewState("strFileName")

project = New Project(filePath) <---Fails

-------------------------------------------------------------------------------------------------------------------

Exception Detail:
Aspose.Tasks.TasksReadingException ("Project reading exception.")

InnerException:
{"An item with the same key has already been added."}

LogText:
Aspose.Tasks for .NET 9.4.1.0 version.
Reading project data in 'MPP14' format, created by 'MSP2013' started.
Reading project's calendars information started.
Calendar with UID ='1' was read successfully.
Calendar with UID ='2' was read successfully.
Calendar with UID ='3' was read successfully.
Reading calendars finished.
Reading common project data started.
Reading common project data finished.
Reading WBS Code Definition started
Reading WBS Code Definition finished
Reading project's outline codes started.
Reading project's outline codes finished.
Reading task extended attribute definitions started.
Reading task extended attribute definitions finished.
Reading resources extended attributes definitions started.
Reading resources extended attributes definitions finished.
Reading assignments extended attributes started.
Reading assignments extended attributes finished.
Reading project's tasks started.
Reading tasks variable data started.
Reading tasks variable data finished.
Reading tasks fixed data started.
Reading tasks fixed data finished.
Reading task with UID ='0' started.
Task with UID ='0' was read successfully.
Reading task with UID ='1' started.
Task with UID ='1' was read successfully.
Reading task with UID ='2' started.
Task with UID ='2' was read successfully.
Reading task with UID ='3' started.
Task with UID ='3' was read successfully.
Reading task with UID ='4' started.
Task with UID ='4' was read successfully.
Reading project's tasks finished.
Building tasks tree started.
Building tasks tree finished.
Reading task links started.

Hi,

Thank you for your inquiry and sharing details.

The link you had provided in your post redirects and require login. Please send us a sample project along with the sample input which can be compiled and executed to reproduce the scenario. It will help us to analyze the problem and provide assistance accordingly.

Here is the correct link: https://qa2.e-builder.net/public/publicLanding.aspx?QS=e8987947bb144da6807da0f94f929c0c

The issue I was able to recreate just by doing console app.

Imports Aspose.Tasks
Module Module1

Sub Main()
Dim project As Aspose.Tasks.Project
Dim filePath As String = “C:\Test Deerfield.mpp”
project = New Project(filePath)

End Sub

End Module
Hi,

Thank you for sharing the sample.

We have tried to reproduce the issue with the help of sample MPP file. Initial investigation shows that the issue persists. The issue has been logged into our system with ID TASKSNET-1905. Our product team will further look into it and provide feedback. We will update you with the feedback in this forum thread once available.

Any new updates?

Hi,


The issue is planned to be fixed in Aspose.Tasks for .NET 17.5.0 that is planned to be released at the end of this month. We’ll update you once there is some news or fix version available in this regard.

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


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.