- You install DirSync and the installation fails with the error message Invalid Namespace. If you view additional information, you can see this just-in-time (JIT) debugging information: System.Management.ManagementException: Invalid namespace
- Or, you have successfully installed DirSync, but after a short while of operation, the same error appears in the event log and DirSync stops working.
- Or, you attempt to uninstall DirSync, and the same error appears.
This is caused by an error in the Windows Management Framework 3.0 that (long story short) causes the WMI repository of the server to be rebuilt. When the repository is rebuilt, data for the MicrosoftIdentityIntegrationServer (miis) in the WMI Control Properties are cleared.
The issue occurs if you have, or have had, an SCCM agent on the server that is on the RTM version, in combination with Windows Management Framework version 3.0.
You can read the full details of the error here: http://support.microsoft.com/kb/2796086
- To fix this issue, set the following Registry value to True:
- Re-install DirSync
Be aware that this issue may have a bigger impact in your environment than just causing DirSync and it’s installation to fail. If you encounter this issue, make sure to read this KB-article: http://support.microsoft.com/kb/2796086 and fully resolve the error on all servers/clients by deploying System Center 2012 Configuration Manager SP1.