When opening projects from PPM to MSP, receive Run-time Error '53' or Run-Time Error '28'

Document ID : KB000039733
Last Modified Date : 25/09/2018
Show Technical Document Details
Issue:

When opening projects from CA Project & Portfolio Management (PPM) to Microsoft Project (MSP), receive Run-time Error '53': File not found: caMspXml.dll or Run-Time Error '28' - Out of Stack Space. This issue typically occurs right after upgrading the MSP Interface.

Steps to Reproduce:

  1. Navigate to a project in PPM
  2. Click the "Open in Scheduler" drop down on the Project Properties or Tasks tab
  3. Select Microsoft Project [Read-Write] or Microsoft Project [Read-Only]

Expected Result:  Project opens successfully in MSP

Actual Result: The following error appears in MSP: Run-time Error '53': File not found: caMspXml.dll  or Run-Time Error '28' - Out of Stack Space and the project does not open. 

runtimeerror.JPG

 
Cause:
This typically is caused by the Visual Basic modules not being upgraded successfully. 
Resolution:

1. In MSP:

  • Go to View > Macros > Visual Basic
  • Expand ProjectGlobal then Expand Modules
  • Delete the modules that start with either CA_ and Niku_
  • Expand Microsoft Project Objects, Double-click on Thisproject
  • Select everything in the right panel and delete it
  • Save and exit Visual Basic

2. Go to View > Macros > Macro Security. Change Macro Settings to 'Enable all macros' (This can cause issues during the install)

3. Go to your Control Panel->Programs and Features and uninstall the CA Clarity Addin  (Leave CA PPM Schedule Connect and CA PPM Microsoft Project Interface installed)

4. Navigate to the following folder directory: CA\PPM\CA PPM MSPInterface\addin and double click setup.exe to run through the install process for the Addin

Additional Information:

Reference KB000018140 - For receiving the Run-time Error '53' due to the wrong version of Microsoft .NET Framework 4 installed
Reference KB000071385 - CA PPM and MSP integration - List of Knowledge Documents
Reference KB000015956 - CA PPM and MSP integration known defects - Support Technical Document Index