TasksWritingException

Is there anyway we I get a better idea about what element is causing this? I’ve had few of these, and it’s basically a guess a check process to get the file to save, when catching the writing exception.
catch (TasksWritingException ex)
{
Exception e = new Exception(ex.LogText);
}


Aspose.Tasks for .NET 6.2.0.0 version.
Writing project data in ‘MPP14’ format, created by ‘MSP2010’ started.
Writing project’s summary started.
Writing project’s summary finished.
Writing project’s calendars information started.
Calendar with UID=‘0’ was written successfully.
Writing calendars finished.
Writing project’s outline codes started.

Writing extended attributes started.
Writing task extended attributes started.
Writing task extended attributes finished.
Writing resource extended attributes started.
Writing resource extended attributes finished.
Writing extended attributes finished.
Writing project’s outline codes finished.
Writing resource assignments started.
Writing resource assignments started.
Writing resource assignments finished.
Writing resource assignments finished.
Writing project’s resources started.
Writing resource with UID=‘0’ started.
Writing resource fixed data started.
Writing resource fixed data finished.
Writing resource variable data started.
Writing resource variable data finished.
Writing resource baselines started.
Writing resource baselines finished.
Resource with UID=‘0’ was written successfully.
Writing project’s resources finished.
Writing project’s tasks started.

Writing project’s tasks started.
Writing task with UID=‘0’ started.
Writing tasks fixed meta started.
Writing tasks fixed meta finished.
Writing tasks fixed data started.
Writing tasks fixed data finished.
Writing tasks variable data started.
Writing task baselines started.
Writing task baselines finished.
Writing tasks variable data finished.
Task with UID=‘0’ was written successfully.
Writing task with UID=‘1’ started.
Writing tasks fixed meta started.
Writing tasks fixed meta finished.
Writing tasks fixed data started.
Writing tasks fixed data finished.
Writing tasks variable data started.
Writing task baselines started.
Writing task baselines finished.
Writing tasks variable data finished.
Task with UID=‘1’ was written successfully.
Writing task with UID=‘2’ started.
Writing tasks fixed meta started.
Writing tasks fixed meta finished.
Writing tasks fixed data started.
The given key was not present in the dictionary.

I noticed I’m getting the error about when one of the Tasks is set to Manual, if I force it off then I don’t get this error. I checked the dates and they all looked good (no Finish before Starts), is there some other logic that is performed when IsManual is set? Something with Durations? I should add that this only happens when saving to MPP, XML works fine.

Hi,


Thank you for contacting support team.

I would like to share that no such issue is reported yet, thus it is difficult to re-produce this scenario here. Could you please send us the compilable application which can be used here to re-produce the issue? It will help us to analyze the problem and provide solution as soon as possible.