PRJ: "Invalid MPX Record Was Encountered..." Opening MPX File (65738)



The information in this article applies to:

  • Microsoft Project 2000
  • Microsoft Project 98 for Windows
  • Microsoft Project for Windows 95 4.1
  • Microsoft Project for Windows 95 4.1a
  • Microsoft Project for Windows 1.0
  • Microsoft Project for Windows 3.0
  • Microsoft Project for Windows 3.0a
  • Microsoft Project for Windows 4.0

This article was previously published under Q65738

SUMMARY

The error message "Invalid MPX Record was encountered at Line # xx" may appear when you attempt to open an MPX file in Microsoft Project for Windows if the file has reached a maximum number of records for that MPX record number.

MORE INFORMATION

The MPX file format is an ASCII text file that allows transferring files and information between Project for Windows and other applications. The MPX file consists of records separated by carriage returns and line feeds. Within each record are fields that contain the information for the project.

A Record Number at the beginning of each record is used to identify each Record Type. There is a maximum number of records for each Record Type. If the maximum number of records is exceeded, then the error message "Invalid MPX Record was encountered at Line # xx" will appear when opening the file. Note that xx refers to the line number in the MPX file where the maximum number of records was exceeded.

For example, the maximum number of tasks allowed in Project is 2000. In the MPX file format, a task Record Type is identified by the number
  1. If there were 2001 tasks in an MPX file and the task number 2001
is located on line 3000 of the MPX file, then the message "Invalid MPX Record was encountered at Line # 3000" will appear on the screen, and the file will not open until the situation has been corrected.

Extra records can be found and deleted by using a text editor.

REFERENCES

"Microsoft Project for Windows Reference," "Exchanging Information".

Modification Type:MajorLast Reviewed:11/24/2003
Keywords:kbinterop KB65738