Riva On-Premise issues can be associated with one of the following categories:
- Installation best practices.
- Resolving Riva server issues:
- Unable to run the Riva Manager application;
- The Request License, Check for Updates, and Request Support wizards fail to complete.
- Resolving license issues:
- Common license errors and resolutions;
- Procedure to apply license files;
- Procedure to clear the license tracking file.
- Resolving email connection issues:
- Exchange connection issues;
- IBM Notes connection issues;
- Google's G Suite connection issues;
- GroupWise connection issues.
- Resolving CRM connection issues.
- Resolving Riva sync service issues:
- Riva Sync service will not install;
- Common Riva Sync service issues and resolutions.
- Resolving Riva SDK service issues.
- Resolving data sync issues.
- Resolving performance issues.
Installation Best Practices
Many of the issues recorded in this guide have occurred because some basic best practices were not adopted as part of the installation process. Adopting these installation best practices will help to prevent future issues:
-
The Riva connection objects and sync policy depend on the correct preparations being completed. Each CRM and version of Exchange may have different requirements. Ensure that all of the requirements in the applicable deployment checklist are completed.
-
The Riva server does not have an installer program. The installation is performed by extracting a ZIP file to a suitable location. To ensure that the correct file system permissions are applied and the services are installed, log in to the host Windows system as a user with local administrator privileges.
-
To ensure that data sync is successful, ensure that the setup steps are followed in the correct order. Each CRM and version of Exchange may require different steps in the setup process, so follow the steps in the correct deployment checklist that matches your email system.
Resolving Riva Server Issues
Common Riva server issues include:
- Unable to run the Riva Manager application.
- The "Request License", "Check for Updates", and "Request Support" wizards fail to complete.
Unable to run the Riva Manager application
Issue: After Riva is installed, the Riva Manager application fails to load or start.
Cause: The Riva Manager application does not load if the .NET version installed and activated on your system is too low. Refer to the release notes of the Riva version you are using.
- Best practice: Upgrade Riva On-Premise to the latest public release.
Errors and resolutions: Common errors and resolutions include:
- Riva.exe generates "The application failed to initialize properly (0xc0000135)" error.
- Error starting Riva - Could not load file or assembly 'System.Core'.
Riva wizards fail to complete
The Riva Manager application includes three wizards: Request License, Check for Updates, and Request Support. All three connect to external resources. The Riva CRM Service Monitor application also includes the Request Support wizard.
Common wizard issues and resolutions include:
- Wizard fails to complete and reports a 404 error.
- Wizard fails to complete and prompts for a valid username.
- Wizard fails to complete and reports a "System.OutOfMemoryException" error.
What to do if a Riva wizard fails:
- If the Request License wizard fails, you can manually submit a license request.
- If the Check for Updates wizard fails, you can manually upgrade the Riva server.
- If the Request Support wizard fails, you can manually submit a support request.
Resolving Riva License Issues
Riva is licensed by the connection as part of the Riva server deployment. Each time the Riva Manager application is started or the CRM Agent service is started, the license files are read into memory. Most license errors result from a condition that the CRM Monitor application reports when trying to sync users.
This section covers:
- Common license errors and resolutions.
- Procedures to apply license files.
- Procedure to clear the license tracking file.
Common license errors and resolutions
This section discusses the common license errors that have been reported once the license has been applied. There is a correct procedure to apply for a license. If it is not followed properly, many of these errors may occur:
- The Riva Manager application opens in DEMO mode. When opening the Riva Manager application, Riva reports that it is operating in DEMO mode.
- Sync Policy opens in EXPIRED mode after a replacement license is applied. When a sync policy is opened, Riva reports that the policy has expired, but the CRM monitor is not reporting any license errors while syncing users.
- The User is unlicensed. The CRM Monitor reports that one or more users are "unlicensed" after new users are added to one or more sync policies.
- Exceeding license count. The CRM Monitor reports that one or more users are "exceeding the license count" after users are removed and new users are added.
- License details show nothing. After applying for a replacement license, checking the license details of a sync policy displays nothing.
- License details are incorrect. After applying for a replacement license, checking the license details of a sync policy displays incorrect license details.
Procedure to apply license files
Before applying for a Riva license, understand that Riva can be licensed for multiple connections related to multiple policies. For most environments, there is a single license file, but in some environments, there may be multiple files.
- Procedure to apply a single replacement license file.
- Procedure to apply for an additional license file.
Procedure to clear the license tracking file
Many license issues result from applying a replacement license file without clearing the license tracking file. Procedure: To clear the license tracking file.
Resolving Email Connection Issues
Each email platform has common connection issues of its own:
- Resolving Exchange connection issues.
- Resolving IBM Notes connection issues.
- Resolving GMail Apps connection issues.
- Resolving GroupWise connection issues.
Resolving Exchange connection issues
- Connection passes connection test but fails Exchange permissions on impersonation connection test.
- Connection passes connection test but fails Exchange Delegate permissions on impersonation connection test.
- EWS connection test returns 401, 403, 404, or 503 errors.
- EWS error: Unable to connect to server: [ErrorServerBusy].
- Error: Unable to connect to remote Exchange Server with given credentials.
- EWS error: Unable to connect to server: [ErrorConnectionFailed].
- Impersonation test: Riva cannot resolve the mailbox of target users.
- MAPI_E Errors.
- Riva is still using MAPI connections for Exchange 2007 or higher.
- Riva stops syncing user mailboxes migrated to the newer version Exchange server.
- Switched from Riva MAPI to Riva EWS connections, and user sync failed.
Resolving IBM Notes connection issues
- Error: Unable to handle the existence of previous items during first sync. (Categories: CRM Name).
- Domino query error: "The full-text index for this database is in use" while accessing names.nsf.
- Error: "Source DB does not exist."
Resolving Google's GMail or G Suite connection issues
- The time zone on the server prevents a Google Enterprise connection.
- Error message: Could not load file or assembly 'system.core version=2.0.5.0'.
- Potential sync impact on CRMs due to Gmail's auto-create contacts feature.
Resolving GroupWise connection issues
- The connection test passes but the trusted application key fails.
- Invalid key for trusted application: GroupWise 7 or 8 is upgraded to GroupWise 2012, and data sync fails.
- GroupWise is upgraded to GroupWise 2014, and data sync fails.
- Unable to see users when adding users to the sync policy.
Resolving CRM Connection Issues
Common CRM connection issues include:
- Unable to create connection - 503 error.
- Connection to CRM fails - invalid credentials.
- Connection to CRM fails - invalid host URL.
- Cannot switch "Connection Options" in sync policy to "Use Impersonation".
- Cannot locate CRM user - unable to find a user based on email address.
- Cannot locate CRM user - multiple CRM users have the same email address.
Resolving CRM Agent Service Issues
Riva uses the following CRM Agent Service executables based on the email platform:
- Omni.Riva.CrmAgentEx.exe - for Exchange, IBM Notes, and Google's G Suite.
- Omni.Riva.CrmAgent.exe - for GroupWise.
Common CRM Agent service issues include:
- The service works and then stops unexpectedly.
- Service fails to start.
- Service cannot write to local folders in the \Riva folder structure or the Windows temporary folders.
Resolving SDK Connector Service Issues
Common SDK Connector service issues include:
- Cannot connect to the SDK service (CRM connection).
- Cannot connect to the SDK service (Notes sync issue).
Resolving Data Sync Issues
Common errors:
- Cannot locate the Contacts folder.
- Access Denied or Permission errors.
- The user is inactive.
- Riva is unable to locate the user's mailbox.
- A new user is not syncing.
- The user removed from the sync policy is still in the active user queue in the CRM Service monitor application.
- The user is removed and re-added to sync policy with new email address causing duplicate data to be synced.
- Folder ID mismatch errors appear in the logs for calendar sync.
- The user ID mismatch errors appear in the logs after mailboxes have been migrated.
- The user is moved between sync policies causing duplicate data to be synced.
- The user is added to two sync policies causing duplicate data to be synced.
- Users are properly renamed in the sync policy resulting in "unlicensed" errors.
- CRM syncing: API calls, web service timeout, or service unavailable errors.
Exchange-specific errors:
- Error synchronizing to Exchange: "Full Access Permissions".
- Sync error: Unable to access the shared mailbox of the target user.
- EWS web service connection not available or timeout errors.
GroupWise-specific errors:
Resolving Performance Issues
Common issues include:
- CPU usage or system memory is almost all consumed.
- It takes hours to complete a sync cycle for a user or a small set of users.