Issue
The Riva Service Monitor application may display "Error - The database disk image is malformed" for one or more syncing users. After reporting the error, the sync process seems to move on to the next user account that is queued.
Here is an example of the error in the log:
2013-08-31 18:45:39,021 INFO [CTP-cva #0] [2O0DU4ZV0KCI] Starting synchronization for imsample@example.com
2013-08-31 18:45:39,021 INFO [CTP-cva #0] [2O0DU4ZV0KCI] Initializing
...
2013-08-31 18:45:43,302 INFO [CTP-cva #0] [2O0DU4ZV0KCI] (Exchange -> CRM) Synchronizing Contacts
2013-08-31 18:45:43,302 INFO [CTP-cva #0] [2O0DU4ZV0KCI] [XC] Polling for changes [?]
2013-08-31 18:45:44,005 WARN [CTP-cva #0] [2O0DU4ZV0KCI] Database corruption detected: The database disk image is malformed database disk image is malformed . Attempting repair.
2013-08-31 18:45:44,021 ERROR [CTP-cva #0] [2O0DU4ZV0KCI] Error occurred during index corruption repair.
System.Data.SQLite.SQLiteException: The database disk image is malformed
database disk image is malformed
2013-08-31 18:45:39,021 INFO [CTP-cva #0] [2O0DU4ZV0KCI] Initializing
...
2013-08-31 18:45:43,302 INFO [CTP-cva #0] [2O0DU4ZV0KCI] (Exchange -> CRM) Synchronizing Contacts
2013-08-31 18:45:43,302 INFO [CTP-cva #0] [2O0DU4ZV0KCI] [XC] Polling for changes [?]
2013-08-31 18:45:44,005 WARN [CTP-cva #0] [2O0DU4ZV0KCI] Database corruption detected: The database disk image is malformed database disk image is malformed . Attempting repair.
2013-08-31 18:45:44,021 ERROR [CTP-cva #0] [2O0DU4ZV0KCI] Error occurred during index corruption repair.
System.Data.SQLite.SQLiteException: The database disk image is malformed
database disk image is malformed
Cause
In the example, when the sync process tried to poll Exchange for changes to a user's contacts, the user's transaction record file for contacts was found to be corrupted and could not be repaired.