When I read the attached plan the ProjectReader method throws a NullPointerException.
ASPOSE.Project project = reader.Read(new FileStream(filePath, FileMode.Open));
Can you advise why this is happening please?
Files created by MS Project 2010(BETA) and saved in MS Project 2003/2007 formats have some differences from the original MS Project 2003/2007 files. We are planning to add the files reading support after MSP2010 mpp format processing is being added.
The issue ‘Reading support mpp files created by MSP 2010 and saved in MSP 2003/2007 formats.’ with id = 13865 has been created and linked to this forum thread.
Also we think that some method to define mpp file format and version before/without file reading could be helpful. The issue ‘Defining mpp file format and MSP version before/without file reading.’ has been created in our corporate issue tracking system. The issue id is 13866.
Sorry for long delay but some deep file structure analysis was required.
<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;color:teal;
mso-ansi-language:EN-US;mso-no-proof:yes”>OpenFileDialog<span lang=“EN-US” style=“font-size:10.0pt;font-family:“Courier New”;mso-ansi-language:
EN-US;mso-no-proof:yes”> dlg = new OpenFileDialog();<o:p></o:p>
dlg.Filter = "Project files (*.mpp)|*.mpp";
if (dlg.ShowDialog() == DialogResult.OK)
ProjectReader reader = new ProjectReader();
ProjectFileInfo info = reader.ReadProjectFileInfo(dlg.FileName);
StringBuilder sb = new StringBuilder();
sb.AppendLine("File format: " + info.ProjectFileFormat);
sb.AppendLine("File published by: " + info.ProjectApplicationInfo);
sb.AppendLine("Can read: " + (info.CanRead? "Yes" : "No"));
<span style=“font-size:10.0pt;font-family:“Courier New”;mso-fareast-font-family:
“Times New Roman”;mso-ansi-language:RU;mso-fareast-language:RU;mso-bidi-language:
The issues you have found earlier (filed as 13865) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.