Class Not Registered - Error during console login or installation

Version 8

    Verified Product Versions

    Endpoint Manager 9.5Endpoint Manager 9.6Endpoint Manager 2016.x

    Error message:


    Retrieving the COM class factory for component with CLSID {D240AD21-4977-11-D1-8FD4-00A0C96523EB} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


    SP Console error.png



    You get this error message when trying to login on the LDMS Console / Remote Console or when you try to access to some of the information in the console.

    This error is also seen during the installation process. The installation will fail at "Provisioning database - public variables" and the log will show as below:


    2017-03-08 16:01:18 INFO: Executing command ProvLoadDBPublicVariablesCommand (SetupController.ExecuteNextCommand())

    2017-03-08 16:01:18 INFO: Executing: D:\Program Files\LANDesk\ManagementSuite\prov_Loaddb.exe -f "D:\Program Files\LANDesk\ManagementSuite\PublicVariables.xml" (Launcher.ExecuteXmlCommand())

    2017-03-08 16:01:20 ERROR: Execution of ProvLoadDBPublicVariablesCommand completed. Return code: -3, State: Failure (SetupController.ExecuteNextCommand())


    You should see the "Class not registered" error if you run the following command:


    "%LDMS_HOME%prov_Loaddb.exe" -f "%LDMS_HOME%PublicVariables.xml"


    This is due to some DLL's not well registered during the installation of the Console. The CLSID number references to idal.dll which on the managementsuite folder.


    Solution / Workaround:


    Open an admin command prompt on the computer the console is installed on and run the following commands:


    regsvr32.exe "C:\program files\common files\system\ado\msado15.dll"


    cd \windows\system32

    dir atl*.dll

    regsvr32.exe "C:\windows\system32\atl71.dll" (or whichever atl.dll you have)


    regsvr32.exe "%LDMS_HOME%parser.dll"

    regsvr32.exe "%LDMS_HOME%ldcache.dll"

    regsvr32.exe "%LDMS_HOME%msinterp2.dll"

    regsvr32.exe "%LDMS_HOME%idal.dll"'


    "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe" -i