'404 - File or directory not found', when trying to post through various NS Agent asp pages
search cancel

'404 - File or directory not found', when trying to post through various NS Agent asp pages


Article ID: 176944


Updated On:


IT Management Suite


When agents try to post data to http://ServerName/Altiris/NS/Agent/postevent.asp the following error is returned:

HTTP Error 404 - File or directory not found

Additionally, browsing to this page on the Notification Server returns the same error.


There are multiple causes for this. See the resolution section for all known resolutions.


Check each of the following items. A misconfiguration of any one of these will cause this error:

  1. Verify that the Active Server Pages extension is set to Allowed within the Web Service Extensions in IIS
  2. The Altiris/NS/Agent virtual directory must have the following application extension mapping:
    1. In IIS Manager, right-click the Agent virtual directory and click Properties
    2. Click the Configuration button on the Virtual Directory tab
    3. Ensure that .asp is listed in the application extensions list and configured as follows:
      1. Executable: %windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
      2. Extension: asp
      3. Verbs -> Limit to: GET,HEAD,POST,DEBUG
      4. Script Engine: checked
      5. Verify that file exists: unchecked
  3. URLScan must not be blocking the .asp file extension on the NS website. If URLScan is installed, check for this in the URLScan.ini file in the %windir%\system32\inetsrv\urlscan directory.
  4. The following section must be present in the \Program Files\Altiris\Notification Server\Agent\web.config file:

       <add verb="*" path="PostEvent.asp" type="Altiris.Web.NS.Agent.PostEventHandler"/>

Applies To

Notification Server 7.0