Riva CRM Integration - Documentation and Knowledge Base

Error: Unable to Initialize: Attempt to Write to Read-Only Database

Article ID: 935
Last updated: 25 Oct, 2019


When attempting to start the Riva sync service in the Riva Service monitor, a Riva administrator may see the following error message, next to the red X's: Unable to initialize: Attempt to write a read-only database.

Possible Causes

  • The user is logged in as a normal user when the Riva service is started. The Riva sync service is configured to log on as the SYSTEM user, which may not have sufficient file system permissions to write to files in the Riva\Application folder structure; or
  • Antivirus software might be preventing Riva from opening and writing to files in the Riva\Application folder structure


Perform these steps:

  1. Configure the Riva CRM Agent service to log on as a local or AD user that is a member of the Local Administrators group on the Windows system that is hosting Riva.
  2. Configure the antivirus software to exclude the Omni\Riva folder structure, and to exclude any .exe and .dll files under the Riva\Application child folders.

Article ID: 935
Last updated: 25 Oct, 2019
Revision: 3
Views: 6374
Also read

Also listed in