Issue
The Riva Service Monitor starts to report that all of the target users are not syncing, and the cmrex-log file contains something like this:
System.IO.FileNotFoundException: Could not find file 'C:\Windows\TEMP\adfohmzp.dll'.
File name: 'C:\Windows\TEMP\adfohmzp.dll'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
Cause
The System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)indicates a file system access issue related to User Account Control (UAC). The CRM Agent Service is not able to start, because it cannot access the C:\Windows\TEMP\ folder.
The normal practice is to configure the properties of the CRM Agent Service to log on locally as a user with the necessary permissions. If that user is not a member of the local Administrator's group, Windows UAC prevents the service from read/write access to system folders, in this case, the C:\Windows\TEMP\ folder.
Possible Solutions
- Recommended: Configure the CRM Agent Service to log on as the correct user.
- Disable UAC on the Windows system that hosts the Riva server,
Configure the CRM Agent Service to log on as the correct user
Set the Logon Identity for the CRM Agent Service:
- CRM Agent for Exchange using EWS connections.
- CRM Agent for GroupWise.
- CRM Agent for Exchange using Direct MAPI connections.
- CRM Agent for Exchange using Outlook Profile MAPI connections.
Disable UAC
To turn off UAC:
-
In Windows, select Start, and then select Control Panel.
-
In the Control Panel, select User Accounts.
-
In the User Accounts window, select User Accounts.
-
In the User Accounts tasks window, select Turn User Account Control on or off.
-
If UAC is currently configured in Admin Approval Mode, the User Account Control message appears. Select Continue.
-
Clear the Use User Account Control (UAC) to help protect your computer check box, and then select OK.
-
Select Restart Now to apply the change right away, or select Restart Later, and then close the User Accounts tasks window.
Reference Documentation
Recommended reference: User Account Control Step-by-Step Guide. (Microsoft Technet.)