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

Free Support Forum - aspose.com

ASPOSE Tasks unable to read P6 file


I receive an error: "‘System.StackOverflowException’ occurred in Aspose.Tasks.dll when loading the attached P6 XML (version 19.12).

                    Dim reader As PrimaveraXmlReader = New PrimaveraXmlReader(sFileName)

Dim listOfProjectUids As List(Of Int32) = reader.GetProjectUids()
If listOfProjectUids.Count > 1 Then
m_P6ProjList = New List(Of Integer)
Dim options As PrimaveraXmlReadingOptions = New PrimaveraXmlReadingOptions()
For i As Integer = 0 To listOfProjectUids.Count - 1
options.ProjectUid = listOfProjectUids(i)

	'Dies HERE on line "m_prjIOProject = New Project(sFileName, options)" on the third iteration

	m_prjIOProject = New Project(sFileName, options)


End If

What is the problem?


SeanRBPM-29-SEP-21.zip (228.8 KB)


We need to investigate the issue further on our end and a ticket with ID TASKSNET-10369 has been created 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 fixed

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