Debugging an ISAPI extension

1. If IIS gets hosed, you can use VC++ to attach to the “inetinfo” to terminate it.

2. To stop the webserver you can use the following dos commandline

net stop "FTP Publishing Service"
net stop "Gopher Publishing Service"
net stop "World Wide Web Publishing Service"

This saves you from starting the control panel and the services applet.
You can add these commands to your Tools – menu.

3. To start again use

net start "World Wide Web Publishing Service"

4. Also check out
TN063: Debugging Internet Extension DLLs in the online help.

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read