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

MSP Project Save Failed in upload due to internal DuationText field

book

Article ID: 193877

calendar_today

Updated On:

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: 

WARN  2020-06-25 12:05:01,200 [http-nio-80-exec-121] niku.schedulers (clarity:<user>:6380063__1F5A455D-35E5-469F-97AA-B57B7A7CEF91:schedulers.postProject) 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 DuationText field that is part of the project in Microsoft Project. This field is not a visible field in the mpp, but can be found when looking at the XML that is attempting to save the project back to Clarity. After forcing this field to no longer be included in the XML, the project will then be able to successfully save back.

Resolution

The DurationText property is used for manually scheduled tasks, so the steps that can be take to force this field to be removed are the following:

  1. Opening the mpp project file
  2. Changing all tasks to Manually Scheduled 
  3. Changing all tasks back to Autoscheduled
  4. Saving the project 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: