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.



Comments

  • http://www.alrojo.com/html/videos-idx.htm

    Posted by Legacy on 06/11/2003 12:00am

    Originally posted by: Fermin

    Good work.

    Reply
  • net start is wrong

    Posted by Legacy on 03/22/2002 12:00am

    Originally posted by: Mike

    it should be 
    
    

    net start "World Wide Web Publishing"

    drop the service on each of the commands.

    Reply
  • Debugging ISAPI

    Posted by Legacy on 05/22/2001 12:00am

    Originally posted by: Ryan Permeh

    i've also found it veryuseful, epseccially in debug builds, to add a 
    
    __asm int 3

    as a breakpoint.

    this allows you to break a running process at a certain point and trace it there. useful for debug versions, but it will screw with you if you try to use it in a release version.

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • Best-in-Class organizations execute on a strategy that supports the multi-channel nature of customer requests. These leading organizations do not just open up their service infrastructures to accommodate new channels, but also empower their teams to deliver an effective and consistent experience regardless of the channel selected by the customer. This document will highlight the key business capabilities that support a Best-in-Class customer engagement strategy.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds