Issue
In the Riva Insight Context View (Windows add-in), an error similar to the one below is displayed:
Error occurred: Incomplete configuration provided for custom object type: Custom1Cause
This error may occur for one or more of the following reasons:
-
Missing or corrupted
custom.settingsfile
The CRM connection is not loading the custom settings correctly. -
CRM connection metadata was not refreshed after deploying a custom configuration
Insight may be using stale or incomplete Salesforce metadata. -
Custom1module is missing from theTrackConfigurationfile
TheWhatIdControlis not properly configured because the custom module is not defined correctly. -
Insight servers are missing CRM connection custom configuration options
For example, the\enfolder contents from the production sync server may be missing from the Insight servers. -
Users are assigned to multiple policies
Users assigned to multiple policies may receive conflicting sync configurations in their mailbox.
Solution
1. Check and Restore the custom.settings File
Verify that the custom.settings file exists and contains valid XML keys.
-
On the Riva server, navigate to the following folder:
\Riva\Custom\Connection$folder\en\settings\ folder - Confirm that the
custom.settingsfile exists in this folder. - Open the file with a binary text editor. Do not use a word processing application.
-
Verify that the custom keys are present between the XML tags.
Example:
<ConfigurationSettings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Settings> <add key="Crm.Salesforce.EventRelations.MultiAttendee.Enabled" value="true" /> <add key="Crm.Salesforce.EventSubTypeValue" value="Event" /> <add key="Crm.Salesforce.IncludePrimaryContactAsAttendee.Disabled" value="true" /> <add key="Crm.Salesforce.TaskSubTypeValue.Email" value="Email" /> <add key="Crm.Salesforce.TaskSubTypeValue.Task" value="Task" /> <add key="Sync.Crm.AuthenticatedUserIsExclusiveServiceAccount" value="true" /> </Settings> <Groups /> </ConfigurationSettings> - If the file is missing or corrupted, restore it from a backup.
-
When restoring the backup file:
- Open the backup file in a binary text editor. Do not use a word processing application.
- Rename the file to
Custom.settings. - Save the file as type All Files.
This helps ensure the file is saved with the correct extension and is not saved as a text document.
2. Refresh CRM Connection Metadata
If a custom configuration was recently deployed, refresh the CRM connection metadata.
For detailed steps, see Review or Update Configured Salesforce Metadata Fields.
3. Check the TrackConfiguration File
-
Confirm that
Custom1is correctly added under theModulessection of theTrackConfigurationfile.Example file location:
C:\Riva\Riva Insight\Insight1\runtime\Insight\App_Data\Config\OnPremise\ - Review the
TrackConfiguration.xmlfile and confirm that theCustom1module is included and correctly configured.
4. Overwrite Insight Server Configuration from the Production Sync Server
If the Insight servers are missing CRM connection custom configuration options, copy the correct configuration from the production sync server.
- On each Insight server, back up the existing CRM connection custom configuration files.
- Locate the
\enfolder on the production sync server. - Copy the production sync server’s
\enfolder. - Overwrite the corresponding
\enfolder on the Insight servers. - Restart or refresh Insight services as required by the environment.
5. Re-initialize Affected Users
If affected users are receiving incomplete or conflicting sync configuration, re-initialize the affected users from the Riva sync policy.
For detailed steps, see Solutions For Track in CRM Configuration Setting Missing Error.
Escalation
If the issue is not resolved after completing the steps above, open a support ticket with the Riva Support Team.
Include the following files from the Insight server for further investigation:
InsightConfigurationTrackConfiguration.xml
Also include:
- The full error message
- The affected user or users
- The Insight server name
- The CRM connection name
- Confirmation of whether custom object configuration was recently changed
- Any recent sync policy or metadata changes