Microsoft Knowledge Base Email Alertz

KBAlertz.com: (187492) - In Microsoft Project, when you open a project in the MPX 4.0 format, you may receive the following import error message: An import error occurred. An invalid .MPX record was encountered on line # n. Check the information in your .MPX file to see if...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 187492 - Last Review: January 23, 2007 - Revision: 3.2

PRJ: Import Error When Opening a Project in MPX Format

This article was previously published under Q187492

SYMPTOMS

In Microsoft Project, when you open a project in the MPX 4.0 format, you may receive the following import error message:
An import error occurred.

An invalid .MPX record was encountered on line # <n>.

Check the information in your .MPX file to see if there is data in fields that does not match the type of information expected for the fields.

The file cannot be opened.
NOTE: Line # <n> is the line in the MPX file that contains the incorrect information.

CAUSE

NOTE: This article assumes that you are familiar with working with MPX format files.

This behavior may occur when any of the following conditions are true:

  • The version number of the file found in the File Creation record contains a mix of numbers and letters.
    -or-
  • Record 30 of the MPX file contains incorrect project start or finish dates.
    -or-
  • Record 10 of the MPX file contains an incorrect currency symbol or decimal separator.

RESOLUTION

NOTE: For the resolution below, the following steps describe how to edit or verify information in an MPX file.
  1. Click the Start button, point to Programs, point to Accessories, and then click Notepad.
  2. In Notepad, click Open on the File menu. Open the MPX file.
  3. Verify that on the Edit menu, Word Wrap does not have a check by it.
  4. The left column contains the records described in this article.

    Verify or edit the information as described in the following steps.
    1. Verify that the version number of the file does not contain a mix of letters and numbers.

      The File Creation record (no record number) is the first record in the MPX file.

      The fields included in this record are:

      • MPX, followed immediately by the list separator character
      • Program Name/Identifier
      • Version Number of the file
      • Code Page (850, 437, MAC, ANSI)


      Example: MPX, Microsoft Project, 3.0

      This example specifies that a comma is used as the list separator character in this MPX file, and the version of the MPX format used in the file is exported from Microsoft Project version 3.0.
    2. Verify that record 30 contains correct dates.

      Project Header record (record 30) sets global project fields, such as the project start date and project finish date. The fields in this record correspond to the information in the Project Info and Statistics dialog boxes.

      NOTE: When you create a project in the MPX format from a source other then Microsoft Project, and if you do not know a project start date, project finish date, or current date, leave the values blank. Do not enter values outside the acceptable range for Microsoft Project which are 1/1/1984 to 12/31/2049.

      The fields and tabs included in this record are:

      • Project tab
      • Company
      • Manager
      • Calendar (Standard used if no entry.)
      • Start Date (Either this field or the next field is calculated for an imported file, depending on the Schedule From setting.)
      • Finish Date
      • Schedule From (0 = start, 1 = finish)
      • Current Date
      • Comments
      • Cost
      • Baseline Cost
      • Actual Cost
      • Work
      • Baseline Work
      • Actual Work
      • Work
      • Duration
      • Baseline Duration
      • Actual Duration
      • Percent Complete
      • Baseline Start
      • Baseline Finish
      • Actual Start
      • Actual Finish
      • Start Variance
      • Finish Variance
      • Subject
      • Author
      • Keywords


      Example: 30,Clocks Exhibit,National Museum,Michael Edwards,Standard,1/2/95

      In this example, the Clocks Exhibit project for the National Museum is managed by Michael Edwards, uses the Standard calendar, and starts on January 2, 1995.
    3. Verify the information in record 10 (the Currency Settings record) contains correct values, and edit if necessary.

      Record 10 specifies settings for the currency options in the Options dialog box. The fields included in this record are:

      • Currency Symbol
      • Symbol Position (0 = after, 1 = before, 2 = after with a space, 3 = before with a space)
      • Currency Digits (0,1,2)
      • Thousands Separator
      • Decimal Separator


      Example: 10,$,1,2,",",.

      This example specifies that currency values include a dollar sign ($) before them, that two digits are included after the decimal point, that a comma is used to separate thousands, and that a period is used as the decimal point. Because the list separator (comma) character is included in the Thousands Separator field, this field is surrounded by quotation marks.
  5. On the File menu, click Save.
  6. On the File menu, click Exit.

STATUS

Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed above.

MORE INFORMATION

For more information about errors when opening a project in MPX format, please see the following article in the Microsoft Knowledge Base:
187375  (http://kbalertz.com/Feedback.aspx?kbNumber=187375/EN-US/ ) PRJ98: Crash or Error When Opening a Project in MPX Format

APPLIES TO
  • Microsoft Project 2000 Standard Edition
  • Microsoft Project 98 Standard Edition
  • Microsoft Project 4.0 Standard Edition
  • Microsoft Project 4.1 Standard Edition
  • Microsoft Project 4.1a
Keywords: 
kbbug kberrmsg kbpending KB187492
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please