Solved

Debugging an ISAPI app in C++ Builder 6

Posted on 2007-04-11
3
872 Views
Last Modified: 2013-11-17
I'm trying to get the Borland C++ Builder 6 debugger working with an ISAPI application (DLL) running on IIS 5.1, on MS Windows 2000 Professional.  There IS an article describing how to do so at the Borland/CodeGear website ( http://dn.codegear.com/article/23024 ) ...and I have followed those instructions.

But...

When I try to launch my application, using IIS as a process and the host of my DLL, the program IMMEDIATELY returns back to the IDE, as if it had exited normally.  There are no error messages and nothing appears in the Windows Event Log.

Anyone with experience in setting this up?
0
Comment
Question by:tchris
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
George Tokas earned 500 total points
ID: 18906412
From that article:
>>
Trouble shooting

If you get an error about: "A required privilege is not held by the client." then you probably haven't done step 3, or you are trying to debug in a scripts directory that hasn't had step 3 done on it. Or, you have not rebooted at some point.

If the debugger starts and stops right away, then you probably have inetinfo.exe running. Run the Task Manager and look for inetinfo.exe running. Try to kill it. If you can't it is currently running as a service. Try shutting it down in the services. If it is stuck on "Starting" the service, then run IISService.reg and reboot. After rebooting, stop the service. Then run IISProcess.reg and try debugging.

When releasing your ISAPI DLL application, be sure to undo what you did in these steps to not hinder performance on your DLL.

Published on: 9/1/2000 12:00:00 AM
>>
Did you check them?
George Tokas.
0
 
LVL 1

Author Comment

by:tchris
ID: 18907288
OK, I feel really dumb now.  It turns out that Inetinfo.exe WAS still running.  I'm completely confused as to HOW it could have been running, since the service was stopped, but there it was in the Task List.  After I killed it there, C++ Builder stopped right on my breakpoint.

Thanks for the help for a "Duh" moment. :-)

-Terry
0
 
LVL 16

Expert Comment

by:George Tokas
ID: 18908711
Sorry I didn't respond earlier...
I checked out the article but I didn't get so far down...
I checked a bit with some other sources and only yesterday I saw troubleshooting...

George Tokas.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASP.Net Session State alternatives 3 82
Syntax Error 2 62
IIS URL Rewrite - 301 on pages that no longer exist 6 33
Best environment for cross platform web development? 5 44
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question