BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debugging ISAPI under XP Pro (D5 Enterprise)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker
View previous topic :: View next topic  
Author Message
Ray Porter
Guest





PostPosted: Wed Feb 18, 2004 4:18 pm    Post subject: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote



Hi everyone,
I have a user who just moved to an XP server and the move seems to have
broken some ISAPI dlls I wrote ages ago and haven't had to touch for a long
time. Now I need to debug my isapi stuff under XP Pro with IIS5.

I've googled the problem and found Alessandro's advice at
http://www.msdelphi.com and followed those instructions but Delphi still
doesn't stop at my break points. Is there something left out of the
recommendations on this web site? The old BDN instructions don't seem to be
workable anymore since I can't access "Act as part of the operating system"
under user rights assignment.

I also have Falcon Web Server installed so if anyone has gotten that working
to debug isapi dlls on xp, I'd appreciate any pointers.

Thanks,
============================================================
Ray Porter
Applications Analyst Programmer
Administrative Information Services, UNC-CH
Phone: (919) 966-5878
Fax: (919) 962-5840
Email: [email]ray_porter (AT) unc (DOT) edu[/email]
Web: http://www.unc.edu/~dragon

Meddle not in the affairs of dragons
for thou art crunchy and taste good with ketchup


Back to top
Bob Swart
Guest





PostPosted: Wed Feb 18, 2004 8:12 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote



Hi Ray,

Quote:
I have a user who just moved to an XP server and the move seems to have
broken some ISAPI dlls I wrote ages ago and haven't had to touch for a long
time. Now I need to debug my isapi stuff under XP Pro with IIS5.

You could use my free IntraBob "host" application to debug ISAPI DLLs
with the Delphi IDE. See http://www.drbob42.com/IntraBob

Quote:
Ray Porter

Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)

--
Bob Swart Training & Consultancy (eBob42) Borland Technology Partner
webmaster UK-BUG / DDG Developers Group - IntraWeb Authorized Trainer

Back to top
James K Smith
Guest





PostPosted: Wed Feb 18, 2004 8:47 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote



I'm sure Dr. Bob has a good solution there. You didn't mention ISAPI filter
or extension. If it's an extension, very simple: find a copy of WWWServer,
and use it for the host application when you run the dll. If filter, you
have to use DLLHost, plus a guid parameter, plus do a few more things.

James


Back to top
Dmeister
Guest





PostPosted: Thu Feb 19, 2004 2:06 am    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

Ray,
This is a known problem when trying to debug D5 ISAPIs under WinXP using
Alessandro's method. Do everything as instructed by Alessandro but copy
dllhost.exe from C:WINDOWSsystem32 to the same location as your ISAPI dll.
This has worked for me.

"Ray Porter" <ray_porter (AT) unc (DOT) edu> wrote

Quote:
Hi everyone,
I have a user who just moved to an XP server and the move seems to have
broken some ISAPI dlls I wrote ages ago and haven't had to touch for a
long
time. Now I need to debug my isapi stuff under XP Pro with IIS5.

I've googled the problem and found Alessandro's advice at
http://www.msdelphi.com and followed those instructions but Delphi still
doesn't stop at my break points. Is there something left out of the
recommendations on this web site? The old BDN instructions don't seem to
be
workable anymore since I can't access "Act as part of the operating
system"
under user rights assignment.

I also have Falcon Web Server installed so if anyone has gotten that
working
to debug isapi dlls on xp, I'd appreciate any pointers.

Thanks,
============================================================
Ray Porter
Applications Analyst Programmer
Administrative Information Services, UNC-CH
Phone: (919) 966-5878
Fax: (919) 962-5840
Email: [email]ray_porter (AT) unc (DOT) edu[/email]
Web: http://www.unc.edu/~dragon

Meddle not in the affairs of dragons
for thou art crunchy and taste good with ketchup





Back to top
Ray Porter
Guest





PostPosted: Thu Feb 19, 2004 2:22 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote


"Dmeister" <daoud (AT) malikyar (DOT) com> wrote

Quote:
Ray,
This is a known problem when trying to debug D5 ISAPIs under WinXP using
Alessandro's method. Do everything as instructed by Alessandro but copy
dllhost.exe from C:WINDOWSsystem32 to the same location as your ISAPI
dll.
This has worked for me.


Hi and thanks,
I've done that. I've also copied the complete contents of my project folder
into the scripts folder just in case it was a problem finding the debug
info. Nothing seems to work.

Any suggestions for another web server to use and guidelines for using it?
I have falcon web server installed but I can't seem to get it working
either.

Ray



Back to top
Mark Bracey
Guest





PostPosted: Fri Feb 20, 2004 3:54 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

I've used Ominicron's httpd web server to debug isapi.

You do have 'Use TD32 Debug Info' turned on, right?

"Ray Porter" <ray_porter (AT) unc (DOT) edu> wrote



Back to top
Mark Bracey
Guest





PostPosted: Fri Feb 20, 2004 3:58 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

Just yesterday I tried this method and it worked. This is D6 though.

I simply made sure my dll was compile with TD32 Debug Info turned on and my
output path was to the virtual directory.

I then did an 'Attach to Process', the process in question was InetInfo.exe.
The caveat is you have to trick Delphi by specifying a host application in
the 'Run-Parameters' dialog.

Once I did that an attached to InetInfo, I was able to debug my dll with now
problem.

Mark


Back to top
William Egge
Guest





PostPosted: Fri Feb 20, 2004 7:13 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

You can also use my debugger host application.

http://www.eggcentric.com/



Back to top
Dmeister
Guest





PostPosted: Fri Feb 20, 2004 11:39 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

Ray,
Are you compiling with debug symbols?

"Ray Porter" <ray_porter (AT) unc (DOT) edu> wrote

Quote:

"Dmeister" <daoud (AT) malikyar (DOT) com> wrote in message
news:40341a0b$1 (AT) newsgroups (DOT) borland.com...
Ray,
This is a known problem when trying to debug D5 ISAPIs under WinXP using
Alessandro's method. Do everything as instructed by Alessandro but copy
dllhost.exe from C:WINDOWSsystem32 to the same location as your ISAPI
dll.
This has worked for me.


Hi and thanks,
I've done that. I've also copied the complete contents of my project
folder
into the scripts folder just in case it was a problem finding the debug
info. Nothing seems to work.

Any suggestions for another web server to use and guidelines for using it?
I have falcon web server installed but I can't seem to get it working
either.

Ray





Back to top
Ray Porter
Guest





PostPosted: Mon Feb 23, 2004 1:50 pm    Post subject: Re: Debugging ISAPI under XP Pro (D5 Enterprise) Reply with quote

Quote:
Ray,
Are you compiling with debug symbols?

Yes. FYI, I just installed D7 and the problem, at least with the Falcon Web
Server, disappeared. I wonder if the installation of VS.Net a couple of
weeks ago and installing D7 reset it to Delphi? At any rate, it's working
now with Faclon Web Server and that's all I need since I suspect these isapi
DLLs will eventually be replaced with asp.net applications.

Ray Porter



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Isapi-WebBroker All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.