MSP Errors "Run-time Error '53'" or "Run-Time Error '28'"

book

Article ID: 39733

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

When opening projects from Clarity 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 Clarity
  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. 

Cause

This can be due to the Visual Basic modules not being upgraded successfully.

Environment

Release: All Supported Releases
Component: Clarity Microsoft Project Integration

Resolution

Uninstall CA Clarity Addin (Schedule Connect and Microsoft Project Interface can be left installed)

Step 1: In MSP, clear out Visual Basic:

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

Step 2: Check Macro Security

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

Step 3: Uninstall the CA Clarity Addin

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

Step 4: Reinstall the CA Clarity Addin from the addin folder

  1. Navigate to the following folder directory: CA\PPM\CA PPM MSPInterface\addin
  2. Double click setup.exe to run through the install process for the Addin

Step 5: If the above doesn't help, do a clean uninstall of the MSP Interface

See steps documented in Clean uninstall of the MSP interface 
Also check for multiple instances of any of the CA PPM MSP components installed in Uninstall a Program and uninstall

Additional Information

If the above solution doesn't help, see also:

Reference also:

Attachments

1558686779561000039733_sktwi1f5rjvs16f24.jpeg get_app
1558686776789000039733_sktwi1f5rjvs16f23.jpeg get_app