Customer reported that Riva CRM Monitor started to report that none of the target users were syncing.
Examination of the cmrex-log file revealed:
2011-12-12 14:06:06,777 ERROR [CrmAgentStart] [(null)] Problem getting manager for Policy: Exchange CRM Synchronization Policy Admins
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)
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 practise is to configure the properties of the CRM Agent Service to logon locally as a user with necessary permissions. If that user is not a member of the local Administrator's group, Windows UAC will prevent the service from read/write access to system folders, in this case the "C:\Windows\TEMP\" folder.