MSP Run-time Error '53' or Run-Time Error '28' when trying to open projects from Clarity PPM


Article ID: 39733


Updated On:


Clarity PPM On Premise


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


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


Release: All Supported Releases
Component: CA Clarity PPM Microsoft Project


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

1. In MSP, clear out Visual Basic:

  • 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. Check Macro Security:
  • Go to View > Macros > Macro Security.
  • Change Macro Settings to 'Enable all macros' (This can cause issues during the install)
3. Uninstall the CA Clarity Addin:
  • Go to your Control Panel->Programs and Features
  • Uninstall the CA Clarity Addin  (Leave CA PPM Schedule Connect and CA PPM Microsoft Project Interface installed)
4. Reinstall the CA Clarity Addin from the addin folder:
  • Navigate to the following folder directory: CA\PPM\CA PPM MSPInterface\addin
  • Double click setup.exe to run through the install process for the Addin
5. If the above doesn't help, do a clean uninstall of MSP using the steps documented in KB000045862 
(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:
    • 145988- 'File not found: caMspXml.dll' Error in Microsoft Project
    • 190889 - MSP Interface Error: Run-time error '53' File not found: caMspXml.dll 
    • 18140-  Run-time Error '53' due to the wrong version of Microsoft .NET Framework 4 installed
  • Clarity PPM and MSP integration known defects - Support Technical Document Index (KB: 15956)

  • Clarity PPM and MSP integration - List of knowledge documents (KB: 71385)

  • See KB: 141061 for tips on how to optimize use of Self Service for Clarity PPM


1558686779561000039733_sktwi1f5rjvs16f24.jpeg get_app
1558686776789000039733_sktwi1f5rjvs16f23.jpeg get_app