Project Writing Exception

Hi,


Getting a project writing exception on project save call. The following exception is generated (I’ve included the portion of the exception that is related to the task that seems to be causing the error “4501” as well as “4562” to show that it processed without error):

Writing task with UID=‘4562’ 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 tasks variable data finished.
Writing task baselines started.
Writing task baselines finished.
Task with UID=‘4562’ was written successfully.
Writing task with UID=‘4501’ 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.
at . ​ ()
at .( )
at . ()
at .()
at . ​ ​ (Project , Stream )

I’ve spent some time looking at the task and can’t find anything out of the norm when comparing to other tasks that have been processed fine. Can you point me in the right direction on what this statement “The given key was not present in the dictionary” is referring to?

If you need any further information, let me know.

I’m using VS2010, MS Project 2010 and Aspose.Tasks 17.1.0.0.

Thanks, Calvin

Hi Calvin,


Thank you for contacting Aspose support team again.

I am afraid that this information is not sufficient to identify the issue. You may please provide some sample project and data which can be compiled and executed here to re-produce the issue. It is requested that code and data should be simplified to maximum extent, so that issue can be identified at the earliest.

We are sorry for the inconvenience caused to you in this regard.