Invalid binary response from URL 'HTTP://MySMP.domain.com:80/altiris/NS/Agent/CreateResource.aspx', error: Invalid header

book

Article ID: 169465

calendar_today

Updated On:

Products

Management Platform (Formerly known as Notification Server)

Issue/Introduction

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.doman.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.domain.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

Cause

Corrupt entries left behind from previous agent installation.

Environment

ITMS 7.6 HF7

Resolution

  1. In order to address this error:
    DecryptBase64String failed to decrypt data, error: Bad Data

    Delete the "LDB" folder under "C:\ProgramData\Symantec\Symantec Agent\" (in order to delete it, you need to stop the Symantec Management Agent service).

  2. In order to address this error:
    Invalid binary response from URL 'HTTP://MySMP.domain.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)

  3. Check that the Symantec Management Agent is able to communicate properly.