Active Roles is experiencing any of the following symptoms:
'YourCustomAttributeName ' not found in schema
An error occured during the last operation
If you are experiencing any errors in the Web Interface indicating that there is an issue with finding an attribute in the schema, the issue may not be with the schema cache and clearing it may not resolve the issue. It may actually be the case that the attribute has been added in the Web Interface manually, by an import of a custom Web Interface site or remnants of an Active Roles Add-On from a previous version (prior to upgrade) and the attribute does not actually exist in Active Directory or in Active Roles (if it's a virtual attribute). The correct resolution in this situation is to either add the attribute in Active Directory or in Active Roles , or to remove the attribute reference from the Web Interface.
Clearing the local files in Solutions 1 and 2 below is a very safe and low impact troubleshooting step, with no potential for creating a serious issue. The Active Roles service will simply recreate these local files when it starts. Since they are local files, there is no impact to other servers.
To clear the schema cache for the Web Interface, perform the following steps:
1) Delete the ADSI provider cache files here on the host running the Active Roles Administration service:
C:\ProgramData\Dell\Active Roles\ADSI (7.0.x - 7.1.x)
C:\ProgramData\One Identity\Active Roles\ADSI (7.2.x)
2) Restart IIS (i.e. open a Command Prompt and type IISReset) on the host running the Web Interface
If you experience issues in the Active Roles MMC, you will have to perform the following in addition to Solution 2 above:
1) Delete the MMC schema cache here: C:\Windows\SchCache
2) Delete any files found in this folder:
C:\Users\\AppData\Local\Dell\EDM\CachedSchemas (7.0.x - 7.1.x)
C:\Users\\AppData\Local\One Identity\EDM\CachedSchemas (7.2.x)
3) Restart the Active Roles service.
This workaround is only to be used as a last step in troubleshooting and should be used cautiously. Clearing the schema cache in SQL has the potential to create malformed entries in the SQL database and therefore it is recommended you backup the Active Roles Server database prior to running Step 2 below.