Solved

Debugging an ISAPI app in C++ Builder 6

Posted on 2007-04-11
3
859 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now