When trying to deploy agents/configurations or requesting diagnostics in the Management Console, its possible to see results such as the below:
The Communication Agent failed to download a package. HTTP status 404: The requested URL does not exist on the server.
This issue can be caused due to a variety of reasons, depending on the HTTP status sub-code.
These can be found inside the IIS logs from the server that the status message has been logged against, the default locations are below:
- Windows Server 2003 - %SystemRoot%\system32\LogFiles\W3SVC1
- Windows Server 2008 and later - %SystemRoot%\inetpub\logs\LogFiles\W3SVC1
There are two specific sub-codes which can apply due to specific hardening in IIS, these can be found in Microsoft KB 943891.
404.6 - Verb Denied
Within IIS, sites default web site select the middle section and 'Features View' then select 'Request Filtering. Then select the HTTP Verbs tab, ensure that the below verb is not disallowed or is allowed using the 'Feature Settings' on the right hand side:
BITS_POST is used to upload standard events to the Management Server.
404.7 - File Extension Denied
Within IIS, sites default web site select the middle section and 'Features View' then select 'Request Filtering. Then select the File Name Extensions tab, ensure that the below file extension is not disallowed or is allowed using the 'Feature Settings' on the right hand side:
MSI and MSP files are used to download agents and configurations to the endpoints.
The HTTP status codes in IIS 7.0, IIS 7.5, and IIS 8.0