IIS Events for Visual Studio Analyzer

See Also   

Internet Information Server (IIS) versions 3 and 4 are capable of generating Visual Studio Analyzer events. You can use these events to trace requests for Web-based applications and to correlate HTTP Get and Post calls.

Other Microsoft-supplied technologies are also capable of generating Visual Studio Analyzer events; see Microsoft Components That Generate Visual Studio Analyzer Events for a complete list.

You must configure IIS before you can view Visual Studio Analyzer events from it. How you configure IIS depends on the release you have. If you have a release of IIS prior to IIS 4, follow the procedure in "To configure releases of IIS prior to version 4." If you have IIS 4, follow the procedure in "To configure IIS version 4."

To configure releases of IIS prior to version 4

  1. Run Regedit.

  2. Select the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Svc\Parameters\Filter Dlls entry.

  3. Double-click the Filter Dlls entry. The Edit Strings dialog box appears.

  4. In the Value data box, add the full path and file name of the Visual Studio Analyzer filter DLL to the beginning of the entry. Separate it from the other paths with a comma. If you accepted the setup defaults, the path is:

    Program Files\Microsoft Visual Studio\Common\Tools\VS-98Ent\Vanalyzr\Vahtp.dll

  5. Reboot your machine.

To configure IIS version 4

  1. Run the Internet Service Manager, which starts the Microsoft Management Console.

  2. Select the Web you want to enable.

  3. Right-click to display the shortcut menu, and then click Properties.

  4. Click the ISAPI Filters tab.

  5. Click Add. The Filter Properties dialog box appears.

  6. In the Filter Name box, type a filter name; for example, Visual Studio Analyzer.

  7. In the Executable box, type the full path and file name for the Visual Studio Analyzer filter DLL. If you accepted the setup defaults, the path is:

    Program Files\Microsoft Visual Studio\Common\Tools\VS-98Ent\Vanalyzr\Vahtp.dll

Visual Studio Analyzer Events Generated by IIS

Event Description
HTTP Get Indicates that an HTTP Get call occurred.
HTTP Post Indicates that an HTTP Post call occurred.