I’m having issues opening a file with the latest Aspose Tasks that has worked on previous versions.
Project reading exception.
Aspose.Tasks for .NET 126.96.36.199 version. Reading
project data in ‘MPP9’ format, created by ‘MSP2003’ started.
operation resulted in an overflow.
at ..Read(Project , Stream ) at
Aspose.Tasks.ProjectReader.Read(Stream stream) at
NostraWWW.ProjectSchedule.InsertMilestone(String newFileLocation) in
C:\Dev\CPR\Bulwer Solution\NostraWWW\ProjectSchedule.aspx.cs:line 238
// Set the license
License license = new License();
String path = Request.ServerVariables[“APPL_PHYSICAL_PATH”] + ConfigurationManager.AppSettings[“AsposeTaskLicense”].ToString();
///Read mpp file from the server
ProjectReader rdr = new ProjectReader();
Project prj = null;
prj = rdr.Read(new FileStream(newFileLocation, FileMode.Open));
I’ve attached a condensed version of the file causing issues.