Skip to content

Error “System.TypeLoadException: Could not load type ‘Microsoft.EnterpriseManagement.Common.DeleteWorkflowComputerNotAllowedException’ ” after upgrading to SCSM 2022

Error “System.TypeLoadException: Could not load type ‘Microsoft.EnterpriseManagement.Common.DeleteWorkflowComputerNotAllowedException’ ” after upgrading to SCSM 2022 published on No Comments on Error “System.TypeLoadException: Could not load type ‘Microsoft.EnterpriseManagement.Common.DeleteWorkflowComputerNotAllowedException’ ” after upgrading to SCSM 2022

I got this error several times after upgrading to SCSM 2022:

Application: Service Manager Console
Application Version: 10.22.1068.0
Severity: Error
Message: An error occurred while saving the settings.

System.TypeLoadException: Could not load type ‘Microsoft.EnterpriseManagement.Common.DeleteWorkflowComputerNotAllowedException’ from assembly ‘Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

This error caused by the mistake in the upgrade sequence: the Core assembly was not updated in the GAC (Global Assembly Cache). It can be fixed by installing it manually using gacutil:

gacutil /i "path_to_folder\Microsoft.EnterpriseManagement.Core.dll"

You can take the Core assembly in the SDK Binaries folder of the SCSM. Check the version, it should be 10.22.1313.0.

You must restart SCSM console and all SCSM services after that.

Share

Leave a Reply

Primary Sidebar

%d bloggers like this: