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 BProcess: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNetComms.dllPriority: 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 BProcess: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exePriority: 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 BProcess: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exePriority: 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 BProcess: AeXNSAgent.exe (2852), Thread ID: 4212, Module: AeXNSAgent.exePriority: 2, Source: Agent
ITMS 8.x
Corrupt entries left behind from previous Sym Agent installation
In order to address the following error, deleted the "LDB" folder under "C:\ProgramData\Symantec\Symantec Agent\", and to delete it, you need to stop the Symantec Management Agent service:
DecryptBase64String failed to decrypt data, error: Bad Data
In order to address this error, you'll need to AeXNSC.exe /reinstall from the command line and 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:
Invalid binary response from URL 'HTTP://MySMP.example.com:80/altiris/NS/Agent/CreateResource.aspx', error: Invalid header
Then check and make sure that the Symantec Management Agent is able to communicate properly.