Solved

Debugging an ISAPI app in C++ Builder 6

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best IDE for PHP starters 11 113
Redirect rewrite back to same address 3 60
Server error in 'XXXXXXXX' application. 12 69
Link SQL table to Webpage 9 51
Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
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.

919 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