Thanks,
Suman Nair
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.