IIS Server - * debugging CGIs can't stop at breakpoints in Windows 2003 *

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server > January 2004 > * debugging CGIs can't stop at breakpoints in Windows 2003 *





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author * debugging CGIs can't stop at breakpoints in Windows 2003 *
Aras

2004-01-24, 1:36 am

I have CGI EXEs created using CGIExpert components in Delphi 7. They
use to work and are debuggable fine under Windows 2000.

However, under Windows 2003, in the 'Temp' directory within my
cgi-bin, when I run the debugger, I only see a file like xxx.exe_s.
However, no other files are created for the session (I mean I no
longer see interactive debugging files created), as if the program
simply does not or can not do this. I have given Full privilages to
the cgi-bin and all its subdirectories but I still can not see files
created under 'Temp' and thus I can not debug under Windows 2003.

What do I need to do?

Please do not suggest any ISAPI or remote, I am not developing using
MS tools

Thanks
Aras
Wade A. Hilmo [MS]

2004-01-24, 1:36 am

Hi Aras,

I am not familiar with Delphi, so I don't know anything about your debugging
environment. I've done plenty of CGI debugging with regular old Win32 exe
files, but I've never heard of any temp files getting created.

We have not made any significant changes that I can think of to our CGI
processing that might account for this. It's possible that changes to the
operating system, outside of IIS, might be involved. I know that changes
were made to all parts of Windows 2003 Server to improve security, and your
implication that files are not getting created makes me think of security
issues.

I suspect that you'll get a much better response to your question in a
Delphi forum, since what you are doing sounds very specific to their
product.

Thank you,
-Wade A. Hilmo,
-Microsoft

PS: I understand that you don't want to use ISAPI, so I won't suggest it
(And in any case, I would not consider debugability to be a good reason to
change from CGI to ISAPI. ISAPI has its own learning curve with regard to
debugging.) I do want to note, however, that you do not need to use
compilers or tools from Microsoft to use ISAPI. Any compiler or product
capable of creating native Win32 DLLs can create ISAPIs. Actually, I
believe that even Delphi has support for creating ISAPIs.

"Aras" <arastaha@hotmail.com> wrote in message
news:f9406120.0401061057.69df8576@posting.google.com...
quote:

> I have CGI EXEs created using CGIExpert components in Delphi 7. They
> use to work and are debuggable fine under Windows 2000.
>
> However, under Windows 2003, in the 'Temp' directory within my
> cgi-bin, when I run the debugger, I only see a file like xxx.exe_s.
> However, no other files are created for the session (I mean I no
> longer see interactive debugging files created), as if the program
> simply does not or can not do this. I have given Full privilages to
> the cgi-bin and all its subdirectories but I still can not see files
> created under 'Temp' and thus I can not debug under Windows 2003.
>
> What do I need to do?
>
> Please do not suggest any ISAPI or remote, I am not developing using
> MS tools
>
> Thanks
> Aras




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com