Microsoft KB Archive/909888

= How to generate debug information for ISAPI extensions in IIS 6.0 =

Article ID: 909888

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Services 6.0

-



Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SUMMARY
The source code for Microsoft Internet Information Services (IIS) 6.0 contains debug statements to report debug information for ISAPI extensions. This article describes how to configure a computer to generate debug information for ISAPI extensions in IIS 6.0.



MORE INFORMATION
To configure a computer to generate debug information for ISAPI extensions, follow these steps.

Create a registry key
To create the required registry key, follow these steps:

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.  Click Start, click Run, type Regedit.exe, and then click OK. Locate and then click the following registry key:

 

 Right-click Parameters, point to New, and then click Key. Type W3ISAPI, and then press ENTER. Right-click W3ISAPI, point to New, and then click DWORD Value. Type debugflags, and then press ENTER. Right-click debugflags, and then click Modify.</li> In the Value data box, type the flag value that you want, and then click OK. The valid flag values appear in the following table. </li></ol>

Use the WinDbg debugger (Windbg.exe) to view the debug output
To use Windbg.exe to view the debug output, follow these steps: <ol> Download and then install the Debugging Tools for Windows. To download the Debugging Tools for Windows, visit the following Microsoft Web site:

http://www.microsoft.com/whdc/devtools/debugging/default.mspx

</li> Run Windbg.exe. By default, the Windbg.exe file is located in the following folder:



Note  represents the hard disk on which Windows is installed.</li> On the File menu, click Attach to a Process.</li> In the Attach to Process box, click the inetinfo.exe node, and then click OK.</li> In the Workspace 'base' dialog box, click Yes.</li></ol>

Keywords: kbhowto kbinetdev kbdebug kbisapiext KB909888

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.