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

  • Managing your company's financials is the backbone of your business and is vital to the long-term health and viability of your company. To continue applying the necessary financial rigor to support rapid growth, the accounting department needs the right tools to most efficiently do their job. Read this white paper to understand the 10 essentials of a complete financial management system and how the right solution can help you keep up with the rapidly changing business world.

  • Event Date: April 15, 2014 The ability to effectively set sales goals, assign quotas and territories, bring new people on board and quickly make adjustments to the sales force is often crucial to success--and to the field experience! But for sales operations leaders, managing the administrative processes, systems, data and various departments to get it all right can often be difficult, inefficient and manually intensive. Register for this webinar and learn how you can: Align sales goals, quotas and …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds