When accessing the Microsoft Active Directory Import page, the following error appears: "An error occurred loading import rules"
book
Article ID: 176817
calendar_today
Updated On:
Products
IT Management Suite
Issue/Introduction
When attempting to open the page for Microsoft Active Directory Import under Configuration tab > Server Settings > Notification Server Infrastructure > Microsoft Active Directory Import, the following error occurs:
An error occurred loading import rules.
Cause
Possible corruption of one of the AD Import Rules. Also a possible cause could be missing assemblies from other Solutions that causes conflicts with AD Connector.
Resolution
The following are generic steps that should help you to identify where could be the problem.
Identify if one of the AD Import Rules is failing to load. You can identify this by capturing a Profiler. If you are not sure how, see article 18075, "How do I capture an Altiris Profiler trace for Altiris support?" You may not see any errors in the Notification Server logs or in the Profiler but make sure that you look for AD Import Rules that are appearing twice and with the same GUID.
If you noticed multiple AD Import Rules with the same GUID or errors referring to a specific GUID or you were not able to identify the AD Import Rules in the Profiler, run the following query on Query Analyzer to see all the available AD Import Rules:
SELECT * FROM item WHERE classguid = 'B2378265-2779-49E6-998D-8BE620B3D9D9' --Classguid for all AD Import Rules
One step that you can try is to disable all the AD Import Rules. With this you can discard possible issues with corrupted AD Import Rules. Use the following query (this query sets all the AD Import Rules as uninstalled or disabled):
UPDATE item SET productuninstalled = 1 WHERE classguid = 'B2378265-2779-49E6-998D-8BE620B3D9D9'
After disabling all the AD Import Rules, try to open the Microsoft Active Directory page in the Altiris Console. Verify that it opens without the error message. Try to create a new AD Import Rule just to verify that it doesn't get corrupted. Note: If by disabling all the AD Import Rules you are still getting the original error, please refer to step 7 below.
If you don't need the previous AD Import Rules, create a new set of AD Import Rules.
In case that you want to recover most of your AD Import Rules, run the following query to enable the AD Import Rules one by one until you found which one caused the issue. Use the query from step 2 to find all the GUIDs that need to have the ProductUninstalled value changed:
UPDATE item SET productuninstalled = 0 WHERE classguid = 'B2378265-2779-49E6-998D-8BE620B3D9D9' AND guid ='ADimportruleGuidgoeshere'
In case that disabling all the AD Import Rules didn't work, check for possible errors referring to missing assemblies from other Solutions as well possible conflicts with licenses from other Solutions.
If you see Solutions reporting errors regarding licenses, try to reinstall those licenses (see article 27080). If the error with licenses is coming from a Solution that actually doesn't require a license, you may need to run a repair in that Solution. After this, try to open the AD Import Rules page.
If you noticed errors referring to missing assemblies from one or more of the Solutions, even though the Solution is not longer installed, then you will need to install those missing assemblies. The easiest way can be by reinstalling the Solution and then removing it one more time. If the missing assemblies is from a Solution that you need to keep installed, just run a repair from Add or Remove Programs in all its components. After this, try to open the AD Import Rules page.
Applies To Notification Server 6.0.6074 SP3 + R* Active Directory Connector 6.1.842 Active Connector Hotfix 3 (KB34704)