Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debugging ISAPI.DLL

3 views
Skip to first unread message

Suman

unread,
Jul 19, 2007, 5:25:28 PM7/19/07
to
Hi,
Any document to help to configure my Delphi 2006 to debugg my ISAPI.DLL in
Windows XP with IIS 5.1 vesion.

Thanks,
Suman Nair


danny heijl

unread,
Jul 20, 2007, 3:17:55 PM7/20/07
to
Suman schreef:

> Hi,
> Any document to help to configure my Delphi 2006 to debugg my ISAPI.DLL in
> Windows XP with IIS 5.1 vesion.

Quote:

Van: Dennis Passmore
Beantwoord aan: dennis_passmore@nospam_yahoo.com
Nieuwsgroepen: borland.public.delphi.internet.isapi-webbroker
Instellingen: <421f...@newsgroups.borland.com>

Here is a few notes that I keep around that always work for me:
--------------------------------------------------------------------------------
Debugging ISPAI dll processes:

Install project file in a Virtual folder of IIS example: "Scripts"

Using the Internet Information Services - Admin tool select the
Properties for the Virual folder "Scripts" and then set the Application
protection to High (Isolated)

Now open the Control Panel | Administrative Tools | Component Service |
Computers | My Computer | COM+ Applications. Find the COM+ package which
denotes the desired IIS Virtual folder "IIS-{default Web
Site//Root/Scripts}. Right click and select Properties and copy the
"Application ID" GUID to the clipboard.

Select the Identity tab, change selected Account to "System Account"
with "Interactive User" enabled.

Now switch back to the Delphi IDE and select Project\Options dialog.
Click on the Directorys Conditionals tab and set the project Output
Directory to the IIS Virtual folder except prefix the output path as
follows: "\\?\c:\inetpub\scripts" being sure to prefix it with "\\?\".

Now select the Run|Parameters menu option and set the Host Application
to "C:\WINDOWS\system32\DllHost.exe" and the Parameters =
{BC4153B1-9E7A-43FB-B2B8-F40DE50DC3B9} equal to the GUID that was
previously saved from the COM+ applications properties for the Virtual
folder.

You should able to debug the ISAPI dll project without a problem now.
-----------------------------------------------------------

Dennis Passmore
Ultimate Software, Inc.

0 new messages