Place a breakpoint within the ASP page on the line that calls the DebugTest method.
In the Project Explorer window of Visual InterDev, right-click this ASP page, and then click Set As Start Page.
From the Debug menu, click Start (or press F5) to run the program.
NOTE: If your project is not already configured within Microsoft Internet Information Server (IIS) for debugging, Visual InterDev prompts you to set this up. Click Yes in all of the dialog boxes that Visual InterDev presents, and Visual InterDev configures this automatically. Also note that the function keys that are used for debugging are different in Visual InterDev and Visual Basic.
If the DLL is already loaded, you must restart IIS before you can debug the DLL, or you cannot stop on breakpoints. To restart IIS 4.0, type the following commands at a command prompt:
Net Stop IISAdmin /y MTXSTOP Net Start W3SVC
To restart IIS 5.0, type the following command at a command prompt:
For additional information%1, click the article numbers below to view the articles in the Microsoft Knowledge Base:
198432 PRB: Server Object Error 'ASP 0178' Instantiating COM Object
259725 PRB: Error When You Debug COM+ in the VB IDE with ASP Client