Unable to save as MPP file

We have a licensed copy of Tasks, however we unable to save as MPP file ???

We use the below code to generate the MPP file, MPP template generated version is 2013,
Aspose.Tasks.License tasksLicense = new Aspose.Tasks.License();
tasksLicense.SetLicense(path + “/Aspose.Total.lic”);

Then call the below code
ProjectReader reader = new ProjectReader();
project = reader.Read(this.DefaultMppTemplateFile);
project .Save(filename , Aspose.Tasks.Saving.SaveFileFormat.MPP);

Then, we receive the below error.
Exception: “Project writing exception”,
Inner exception: “Writing resource assignment started. Writing assignment with UID=0 started”.

Please Help.

Hi Sanjay,


Please refer here for response to this query.