MSP Project Save Failed in upload due to internal DurationText field
search cancel

MSP Project Save Failed in upload due to internal DurationText field

book

Article ID: 193877

calendar_today

Updated On: 04-02-2025

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When saving a Microsoft Project (MSP) project mpp file back to Clarity, a 'Project Save failed' error is thrown. 

Looking at the logs, the following is being logged: 

ImportTaskProcessor.doProcess(): Illegal Task Start and/or Finish dates

However, after reviewing all of the task dates, they are all populated with valid start and finish dates. They are all set as autoscheduled tasks as well. 

Environment

Release : All Releases

Component : CA PPM Microsoft Project

Cause

In this case, this error message is due to an internal DurationText field that is part of the project in Microsoft Project.  The DurationText property is used for manually scheduled tasks.  It is not visible in the mpp file, only in the xml.  If there is a task that is Auto Scheduled but has the DurationText line in the xml, it will throw this error.

Resolution

Below are the steps to force this field to NOT be included in the xml.

  1. Open the mpp project file
  2. Change all tasks to Manually Scheduled 
  3. Save locally
  4. Change all tasks back to Autoscheduled
  5. Save locally
  6. Use Save As if the project does not exist in Clarity.  If the project does exist, use Save to save back to Clarity

Additional Information

For other causes of the Project Save failed error see: MSP Project Save Failed Errors - Master KB

Clarity MSP Support Document Indexes: