Solved

Debugging an ISAPI app in C++ Builder 6

Posted on 2007-04-11
3
877 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

730 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