search cancel

Getting error message "Error activating agent session" when trying to launch Symantec Management Agent UI.

book

Article ID: 162653

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

Customer is trying to launch the Symantec Management Agent via AeXAgentActivate.exe

However, when he does that, the following popup message appears:

"Error activating agent session, please see the agent log for details"

Entry 1:
Failed to get agent interfaces, error: Class not registered (0x80040154)
-----------------------------------------------------------------------------------------------------
Date: 11/3/2015 9:01:10 AM, Tick Count: 111812827 (1.07:03:32.8270000), Size: 309 B
Process: AeXAgentUIHost.exe (6988), Thread ID: 7348, Module: AeXAgentUIHost.exe
Priority: 1, Source: SessionHost

Entry 2:
AeXAgentUIHost.exe in session 3 is terminated with exit code 0x4003, it did that 4 times, user has to start UI manually
-----------------------------------------------------------------------------------------------------
Date: 11/3/2015 9:01:10 AM, Tick Count: 111812843 (1.07:03:32.8430000), Size: 352 B
Process: AeXNSAgent.exe (12168), Thread ID: 5880, Module: AeXAgentUI.dll
Priority: 1, Source: SessionManager

Entry 3:
Failed to start session or activate object '{FF1B80EC-257A-4DF9-8712-74150E4ADB2A}' in session 3, COM error: Class not registered (0x80040154)
-----------------------------------------------------------------------------------------------------
Date: 11/3/2015 9:01:15 AM, Tick Count: 111817866 (1.07:03:37.8660000), Size: 389 B
Process: AeXAgentActivate.exe (10088), Thread ID: 7376, Module: AeXAgentActivate.exe
Priority: 1, Source: AeXAgentActivate

Cause

Improper COM objects installation after multiple failed installation attempts.

Resolution

In order to address this issue, you will need to make sure the proper COM objects are created on the client machine for our agent.

  1. Run the following from the command line (located under ...\program files\Altiris\Altiris Agent):

    AeXNSAgent.exe /regserver

    This register AeXClient COM object only.

    -OR- 

    AeXAgentUtil.exe /registerclient

    This will register all COM objects of all *.dll files of SMA installation.

  2. Restart the Symantec Management Agent if the command line above didn't do it.