Sign In  Sign Up Live-Chat

Error Opening File. Maximum number of records of this type exist

Last post 11-03-2008, 5:46 PM by msfaiz. 14 replies.
Sort Posts: Previous Next
  •  05-02-2008, 7:08 PM 125225

    Error Opening File. Maximum number of records of this type exist

    I am getting an error when trying to open an MPP file. The error is Error Opening File. The inner exception is "Maximum number of records of this type exist"

     
  •  05-04-2008, 10:13 PM 125313 in reply to 125225

    Re: Error Opening File. Maximum number of records of this type exist

    Dear wireplay,


    Please provide your source MPP file and source code to reproduce this error. You can attach it with your post. Please also mention the version number of Aspose.Tasks being used by you.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
  •  05-04-2008, 10:32 PM 125316 in reply to 125313

    Re: Error Opening File. Maximum number of records of this type exist

    I cannot share the MPP file due to security. I am using the latest version of Aspose.Tasks. The MPP file contains 18K+ tasks.
     
  •  05-04-2008, 10:36 PM 125317 in reply to 125313

    Re: Error Opening File. Maximum number of records of this type exist

    Source code:

    MPXFile mpp = new MPPFile(file);

    This code fails.

     
  •  05-05-2008, 12:53 AM 125322 in reply to 125316

    Re: Error Opening File. Maximum number of records of this type exist

    Aspose.Tasks has limit 1000 tasks/resources and 250 calendar periods but it's for MPX format only.
    Actually, that is limitation of MPX format. MPP should work with any number of records.
    Can you provide at least full stack trace?

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  05-05-2008, 6:17 AM 125382 in reply to 125322

    Re: Error Opening File. Maximum number of records of this type exist

    Aspose.Tasks.TasksReadException was unhandled
      Message="Error reading file"
      Source="Aspose.Tasks"
      StackTrace:
           at Aspose.Tasks.MPPFile..ctor(String name)
           at ***.ReadProjectFile.Main.Process(String file) in C:\projects\***\***\Projects\ReadProjectFile\ReadProjectFile\Main.cs:line 15
           at Test.Program.Main(String[] args) in C:\projects\***\***\Projects\ReadProjectFile\Test\Program.cs:line 13
           at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: Aspose.Tasks.TasksReadException
           Message="Error reading file"
           Source="Aspose.Tasks"
           StackTrace:
                at Aspose.Tasks.MPPFile.?(Stream ?)
                at Aspose.Tasks.MPPFile..ctor(String name)
           InnerException: Aspose.Tasks.TasksMaximumRecordsException
                Message="Maximum number of records of this type exist"
                Source="Aspose.Tasks"
                StackTrace:
                     at Aspose.Tasks.Calendar.?(? ?)
                     at Aspose.Tasks.Calendar.?()
                     at ?.?.?(Byte[] ?, Calendar ?)
                     at ?.?.?(MPPFile ?, ? ?, Hashtable ?)
                     at ?.?.?(MPPFile ?, ? ?)
                     at Aspose.Tasks.MPPFile.?(Stream ?)
                InnerException:
     
  •  05-06-2008, 2:59 AM 125554 in reply to 125382

    Re: Error Opening File. Maximum number of records of this type exist

    Thank you for the information. We will try to fix it.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  07-15-2008, 7:01 AM 135556 in reply to 125554

    Re: Error Opening File. Maximum number of records of this type exist

    Has this been corrected by any chance?
     
  •  07-15-2008, 3:55 PM 135634 in reply to 135556

    Re: Error Opening File. Maximum number of records of this type exist

    Unfortunately, we are unable to fix it and need more time. Thanks for your patience.
    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
  •  07-15-2008, 9:54 PM 135669 in reply to 135556

    Re: Error Opening File. Maximum number of records of this type exist

    Hello,

    If I'm not mistaken reading and exporting calendars problem was fixed in 1.6.3 version.
    http://www.aspose.com/community/files/51/file-format-components/aspose.tasks/entry130081.aspx
    Please try it and write here if you still get exception.

    Alexey Zhilin
    Team Leader
    Aspose Tyumen Team
    About Us
    Contact Us
     
  •  07-15-2008, 10:35 PM 135674 in reply to 135669

    Re: Error Opening File. Maximum number of records of this type exist

    Still happening. It looks like some sort of array issue. Hopefully you guys can get it to work because it is a major time waste using the Project Interop files. Stack trace:

     

    Aspose.Tasks.TasksReadException was unhandled
      Message="Error reading file"
      Source="Aspose.Tasks"
      StackTrace:
           at Aspose.Tasks.MPPFile..ctor(String name)
           at Lockheed.ReadProjectFile.Main.Process(String file, String sasFile) in C:\Users\Alan\Documents\projects\CONFIDENTIAL\Projects\ReadProjectFile\ReadProjectFile\Main.cs:line 21
           at Test.Program.Main(String[] args) in C:\Users\Alan\Documents\projects\CONFIDENTIAL\Projects\ReadProjectFile\Test\Program.cs:line 13
           at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
           at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
           at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
           at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
           at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
           at System.Threading.ThreadHelper.ThreadStart()
      InnerException: Aspose.Tasks.TasksReadException
           Message="Error reading file"
           Source="Aspose.Tasks"
           StackTrace:
                at Aspose.Tasks.MPPFile.?(Stream ?)
                at Aspose.Tasks.MPPFile..ctor(String name)
           InnerException: Aspose.Tasks.TasksMaximumRecordsException
                Message="Maximum number of records of this type exist"
                Source="Aspose.Tasks"
                StackTrace:
                     at Aspose.Tasks.Calendar.?(? ?)
                     at Aspose.Tasks.Calendar.?()
                     at ?.?.?(Byte[] ?, Calendar ?)
                     at ?.?.?(MPPFile ?, ? ?, Hashtable ?)
                     at ?.?.?(MPPFile ?, ? ?)
                     at Aspose.Tasks.MPPFile.?(Stream ?)
                InnerException:

     
  •  07-15-2008, 10:37 PM 135675 in reply to 135669

    Re: Error Opening File. Maximum number of records of this type exist

    If it helps, there are 22,000 tasks in this MPP and every single custom field available is used.
     
  •  10-20-2008, 8:52 PM 148690 in reply to 135675

    Re: Error Opening File. Maximum number of records of this type exist

    Attachment: Present (inaccessible)

    I got the same error, same InnerException and call stack with latest version 1.6.3.

    MPP file format is Project 2002 and 2003.

    My environment is ..

    • use Demos\C#\MppToMpx
    • build with Visual Studio 2005

    After compile the demo, run and convert attatched mpp file. I got the Aspose.Tasks.TasksReadException and Aspose.Tasks.TasksMaximumRecordsException.

    This problem is fixed?

     
  •  10-27-2008, 8:30 PM 149711 in reply to 148690

    Re: Error Opening File. Maximum number of records of this type exist

    What are the conditions?

    My project is on dedline, so please reply me about it.

     
  •  11-03-2008, 5:46 PM 150750 in reply to 149711

    Re: Error Opening File. Maximum number of records of this type exist

    We are investigating the problem and let you know as soon as possible. Thanks for your patience.


    Many Thanks and Kind Regards,

    Shakeel Faiz
    Support Engineer
    Aspose Tyumen Team
     
View as RSS news feed in XML