Previously, when upgrading Active Roles from any version to 8.1.4, the upgrade step of importing custom Script Modules could silently fail, with the failure indicated only in the upgrade log.
This issue was caused by a fix introduced in the now-deprecated Active Roles 8.1.3 release, which changed the GUID of the UpdateServicesToExecute module. This resulted in the in-place upgrade process not recognizing the module anymore as a built-in Script Module and attempting to insert it, resulting in its DN not being unique, and halting the upgrade process.
The issue was fixed by implementing a safeguard which prevents the duplication of DN values.
NOTE: Although the issue has been fixed, importing custom Script Modules during upgrade may still result in the following error generated in the build log:
Error: Violation of UNIQUE KEY constraint 'UQ_ScriptModules_distinguishedName'. Cannot insert duplicate key in object 'dbo.ScriptModules'. The duplicate key value is (CN=UpdateServicesToExecute,CN=Builtin,CN=Script Modules,CN=Configuration).
If this error occurs, verify that your custom Script Modules have been imported from your previous configuration. If not, import your previous configuration again. |