After reinstalling the Symantec Management Agent, the following errors started to show while trying to send basic inventory and request configuration:
Message 1:
DecryptBase64String failed to decrypt data, error: Bad Data
Message 2:
Invalid binary response from URL 'HTTP://MySMP.example.com:80/altiris/NS/Agent/CreateResource.aspx', error: Invalid header
Message 3:
Configure Server Mode: Failed to obtain machine resource GUID
Message 4:
Failed to register agent. Registration status 'Not registered'.
Error 1:
DecryptBase64String failed to decrypt data, error: Bad Data
-----------------------------------------------------------------------------------------------------
Date: 5/18/2017 9:59:36 AM, Tick Count: 72733234 (20:12:13.2340000), Size: 288 B
Process: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNetComms.dll
Priority: 1, Source: CryptHelper
Error 2:
Invalid binary response from URL 'HTTP://MySMP.example.com:80/altiris/NS/Agent/CreateResource.aspx', error: Invalid header
-----------------------------------------------------------------------------------------------------
Date: 5/18/2017 9:59:37 AM, Tick Count: 72733375 (20:12:13.3750000), Host Name: agdgdal03, Size: 358 B
Process: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exe
Priority: 1, Source: ConfigServer
Warning 1:
Configure Server Mode: Failed to obtain machine resource GUID
-----------------------------------------------------------------------------------------------------
Date: 5/18/2017 9:59:37 AM, Tick Count: 72733375 (20:12:13.3750000), Size: 290 B
Process: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exe
Priority: 2, Source: ConfigServer
Warning 2:
Failed to register agent. Registration status 'Not registered'. Next retry in 4 min.
-----------------------------------------------------------------------------------------------------
Date: 5/18/2017 9:59:37 AM, Tick Count: 72733390 (20:12:13.3900000), Size: 306 B
Process: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exe
Priority: 2, Source: Agent
ITMS 7.x, 8.x
Corrupt entries left behind from previous agent installation.
In order to address this error:
DecryptBase64String failed to decrypt data, error: Bad Data
Delete the "LDB" folder under "C:\ProgramData\Symantec\Symant
In order to address this error:
Invalid binary response from URL 'HTTP://MySMP.example.com:80/altiris/NS/Agent/CreateResource.aspx', error: Invalid header
Run from the command line: AeXNSC.exe /reinstall
(you can find a copy of this file under "...\Program Files\Altiris\Notification Server\NSCap\bin\Win32\X86\NS Client Package" on your SMP server)
Check that the Symantec Management Agent is able to communicate properly.