Knowledge Base Search     Advanced

Target users not syncing - "System.IO.__Error.WinIOError" error - Windows UAC

Article ID: 545
Last updated: 25 Nov, 2016

Issue

The Riva CRM Monitor starts to report that all of the target users are not syncing, and the cmrex-log file contains something like this:

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)

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 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

Configure the CRM Agent Service to Log On as the Correct User

Set the Logon Identity for the CRM Agent Service:

Disable UAC

To turn off UAC:

  1. In Windows, click Start, and then click Control Panel.

  2. In Control Panel, click User Accounts.

  3. In the User Accounts window, click User Accounts.

  4. In the User Accounts tasks window, click Turn User Account Control on or off.

  5. If UAC is currently configured in Admin Approval Mode, the User Account Control message appears. Click Continue.

  6. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.

  7. Click Restart Now to apply the change right away, or click Restart Later, and then close the User Accounts tasks window.

Reference Documentation

Recommended reference: User Account Control Step-by-Step Guide. (Microsoft Technet.)

Article ID: 545
Last updated: 25 Nov, 2016
Revision: 3
Views: 7788
Print Export to PDF Email to friend Share
Also read
document MAPI_E_FAILONEPROVIDER error - Riva MAPI connections
document Configure Properties of the Riva CRM Agent Service

Also listed in
folder Riva On-Premise - CRM Sync -> Manage Riva On-Premise (Admin Guides) -> Troubleshooting -> Resolving Riva Server Issues
folder Riva On-Premise - CRM Sync -> Manage Riva On-Premise (Admin Guides) -> Manage the Riva Server -> Manage Server Configuration -> Errors & Troubleshooting
folder Riva On-Premise - CRM Sync -> Manage Riva On-Premise (Admin Guides) -> Troubleshooting -> Resolving Microsoft Issues

Prev   Next
Omni.Sync.ItemSyncException: systemuser With Id ... Does Not...     Solution for: Not All CRM Contacts Appear in Outlook or GroupWise


Back to Top