Developing Web Applications
|
|
Attach a Debugging Tool to the IIS 5.0 Service
If you are using a debugging tool capable of attaching to a Windows 2000 Server process, you can use it to debug your component or extension.
To debug an ISAPI extension with Visual Studio
- Start the iisadmin process. This can be done from the command line with the command net start iisadmin. You can also use the Services application (in Administrative Tools) in Control Panel to start the IIS Admin Service; this will start the iisadmin process.
- Run Visual Studio and select the Attach to Process command from the Start Debug submenu of the Build menu.
- Click the Show System Process check box.
- Select the Inetinfo process from the list and click OK.
- Start the w3svc service. This can be done from the command line with the command net start w3svc. You can also use the Services application in Control Panel to start the World Wide Web Publishing Service.
© 1997-1999 Microsoft Corporation. All rights reserved.