Asset Copy Error - Unable to load DLL coraapi

book

Article ID: 76625

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Users encounter the 'unable to load DLL 'coraapi' when copying an asset.

Cause

This error onlyoccurs when there are two separate APM application and APM web servers, and the 14.1, C4 rollup patch or greater is applied. 
This occurs because the CORA files are not present on the APM web server.

Environment

CA Asset Portfolio Management 14.1, C4 + rollup patch

Resolution

Steps to resolve the 'unable to load DLL 'coraapi'' error during an asset copy: 

1.  In SQL Server, run this query to obtain the CORA file path:
select configvalue from al_cdb_configurationparameters where componentkey = 'CORA' and configkey = 'CoraPath')
2.  Get the configvalue for the CORA path (for example: C:\Program Files (x86)\CA\SC\CORA ) from the above query.
3.  Navigate to the APM application server, and copy the CORA directory (all files).
4.  Paste the CORA directory and files to the APM web server, in the same directory path as on the APM application server, 
5.  Perform an IISRESET on both APM application and APM web servers
6.  Asset copy will now function correctly.