This project is read-only.

About this project

When troubleshooting network problems it helps to be able to run ping and traceroute ( tracert ) commands from remote servers. There is number of such public servers available on

If you need to run such server yourself on Microsoft IIS, you face a hard time, thought. I was unable to find decent, modern and free implementation of web ping and trace. So I wrote one myself.

How it works

IIS Network Diagnostic Tools is set of three HTTP handlers written in .NET: one cares for the ping command, second for the traceroute and third displays simple user friendly HTML form to use them both. Above these handlers stands one handler factory, which switches them according to requested operations.

Therefore you are able to register single handler (the factory) using single DLL and you are all set.


  1. Copy the Altairis.IisNetDiag.dll assembly to bin folder fo your web site.
  2. Add reference to the Altairis.IisNetDiag.ToolsHandlerFactory class in handler section. You may use any path name for registration, default and recommended is IisNetDiag.axd . Example for registration for both IIS 6.0 (Windows 2003 and below) and 7.x (Windows 2008 and above) can be found in web.config file in this folder.
  3. That's all. Visit the address of the handler (like ) and you'll see the form.

Technical requirements

  • One of the following web servers:
    • Microsoft IIS 5.0 (Windows 2000)
    • Microsoft IIS 5.1 (Windows XP)
    • Microsoft IIS 6.0 (Windows Server 2003, Windows XP 64-bit)
    • Microsoft IIS 7.0 (Windows Server 2008, Windows Vista)
    • Microsoft IIS 7.5 (Windows Server 2008 R2, Windows 7)
  • Microsoft .NET Framework version 3.5 or higher


Copyright © Michal A. Valášek - Altairis, 2010

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Full text of the GNU General Public License may be seen at

Author and Contact

Last edited Mar 21, 2010 at 8:08 PM by altair, version 3