Customer is trying to register the client task agent to a task server. This machine is the actual Task Server itself.
Looking at the agent logs on the client machine trying to register to the Task Server, the following errors and messages were noticed:
Entry 1:
Failed to call web interface by url [http://TS01.domain.com:80/Altiris/ClientTaskServer/Register.aspx?lastResort=true&resourceGuid=234834a0-d833-4a86-95d1-a0fd28bfcb08&crc=0007000600000567], error [0x80090308, The token supplied to the function is invalid].
Entry 2:
Could not register using http://TS01.domain.com:80/Altiris/ClientTaskServer/Register.aspx
Entry 3:
Failed to call web interface by url [http://TS01.domain.com:80/Altiris/ClientTaskServer/Register.aspx?lastResort=true&resourceGuid=234834a0-d833-4a86-95d1-a0fd28bfcb08&crc=0007000600000567], error [0x80042D21, IDispatch error #11041].
Entry 4:
An attempt to register on Task Server [TS01.domain.com] over [http] completed with status [FAILED (may retry)].
ITMS 8.x
In this particular case the Task Server was a Domain Controller, which is not currently a supported configuration. However, in other instances the Task Server has been working on other Domain Controllers machines in the same environment.
This particular issue was caused by not having enough rights to the 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files' directory
These are the expected users and permissions:
The following steps were followed in order to identify the issue:
<customErrors mode="On" />
and change it from <customErrors mode="On" /> to <customErrors mode="Off" />. Save the changes.