General failure linking Domain [CMM000231]

Document ID : KB000097105
Last Modified Date : 18/05/2018
Show Technical Document Details
Issue:

On Enteprise console when trying to link a new DOMAIN, following error appears :

General failure linking Domain [CMM000231]


User-added image
 
Cause:

This error occurs if there are some SQL errors when inserting rows in DOMAIN mdb database
Resolution:
On Enterprise server (or on remote Explorer machine) check the log files C:\Program Files (x86)\CA\DSM\logs\TRC_GUI_*.log to see what is the SQL error.

Some Examples :
  • Problem with disk space for mdb database :
GUI |CDb             |DbImpl_Ado.cpp      |002644|NOTIFY | Error Message: ADO Version 6.3 - COM Error: ErrorCode:-2147217900,WordErrorCode:3092, IDispatch error #3092, Could not allocate a new page for database 'mdb' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup., Microsoft SQL Server Native Client 11.0, (null)

GUI |cmnObjectDAI    |cReplicationConfig.c|000105|ERROR  | cReplicationConfig::SetupTableReplication: Error setting up configuration for table =[ca_discovered_hardware]
GUI |cmnObjectDAI    |cReplicationJob.cpp |000210|ERROR  | cReplicationJob::LinkDomain: Failed - Aborting

GUI |cmObjectManager |CCO_DAI.cpp         |011226|ERROR  | CCODAI::LinkEnterpriseDomain replication failed with return code 231
GUI |cmObjectManager |dataaccess.cpp      |003321|ERROR  | COAPI_CDataAccess::GetLinkEnterpriseDomainStatusCb operation has errored
GUI |cmObjectManager |dataaccess.cpp      |003835|ERROR  | COAPI_CDataAccess::HandleError rc=CMM000231, component=cmnObjectDAI, errorInfo=

 

  • Problem with INSERT permissions on table ca_replication_conf
GUI |CDb             |DbImpl_Ado.cpp      |002644|NOTIFY | Error Message: ADO Version 6.3 - COM Error: ErrorCode:-2147217911,WordErrorCode:3081, IDispatch error #3081, The INSERT permission was denied on the object 'ca_replication_conf', database 'mdb', schema 'dbo'., Microsoft SQL Server Native Client 11.0, (null)

GUI |cmnObjectDAI    |cReplicationConfig.c|000105|ERROR  | cReplicationConfig::SetupTableReplication: Error setting up configuration for table =[ca_discovered_hardware]
GUI |cmnObjectDAI    |cReplicationJob.cpp |000210|ERROR  | cReplicationJob::LinkDomain: Failed - Aborting

GUI |cmObjectManager |CCO_DAI.cpp         |011226|ERROR  | CCODAI::LinkEnterpriseDomain replication failed with return code 231
GUI |cmObjectManager |dataaccess.cpp      |003321|ERROR  | COAPI_CDataAccess::GetLinkEnterpriseDomainStatusCb operation has errored
GUI |cmObjectManager |dataaccess.cpp      |003835|ERROR  | COAPI_CDataAccess::HandleError rc=CMM000231, component=cmnObjectDAI, errorInfo=


According to the error found in TRC_GUI_*.log, do the appropriate action on DOMAIN mdb database.