FIM Troubleshooting: Refresh Schema on FIM MA fails with Event ID 6331
Problem
Unable to refresh the schema on the FIM Management Agent.
Event Log
Event ID 6331
Source: FIMSynchronizationService
A update on the configuration of a MA or MV failed to replicate to a target connector directory that is capable of storing MA/MV configurations. As a result, the MA/MV configuration data in this connector directory is not up to date. Please correct the condition that causes the error, and triggers a resync by updating the password information of the target MA. Additional information: Error Code: 0x80230709 Error Message: (The extension operation aborted due to an internal error in FIM Synchronization Service.) Operation: Delete MA Name of the MA to replicate: Guid of the MA to replicate: {AB7F57BA-B9A6-4DCF-828E-1A9E80BF3ADE} Name of the target MA: FIM Guid of the target MA: {A90881BE-F80F-45AF-8141-02A8D248E7DD}
Cause
The problem is related to a .Net Framework issue we sometimes see with FIM where the first version of .Net in the config files is used, even if not present.
Resolution:
In the miiserver.exe.config (c:\Program Files\Forefront Identity Manager\2010\Synchronization Service\Bin) we swapped the order of the .Net runtime lines.
After fix:
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v2.0.50727"></supportedRuntime>
<supportedRuntime version="v4.0"></supportedRuntime>
</startup>