http://qs321.pair.com?node_id=211764


in reply to ASP PerlScript equivalent for use CGI::Carp qw(fatalsToBrowser);

I think you need to go to the

Internet Services Manager
  computername
    Web Site
      Properties
        Home Directory
          Configuration
            App Debuging
and check "Send detailed ASP error messages to client"

You may do this of course on the directory level as well.

I don't think you can set this for separate scripts though.

Jenda

Replies are listed 'Best First'.
Re: Re: ASP PerlScript equivalent for use CGI::Carp qw(fatalsToBrowser);
by rzward (Monk) on Nov 10, 2002 at 18:19 UTC
    Jenda,

    Thank you for the help.

    I will have this setting verified tomorrow (the computer is not accessible to me). However, I believe this is the default setting and on my own Win2K machine, changing this setting does not change what the browser displays when I deliberately type syntax errors in my script.

    In any case, it's worth a try on the machine that has the problem.

    Richard

      One more thing. Do you use Win32::ASP;?

      If I try for example:

      <%@ Language=PerlScript %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> ... (some more HTML) <% use Win32::ASP; $x = 1 / 0; %>
      I get:
      PerlScript Error error '80004005' (in cleanup) Illegal division by zero /vars.asp, line 13

      Jenda

        Thank you Jenda for following up:

        WIN32::ASP looks like an interesting option.

        I wonder if WIN32::ASP is installed by default? At the moment, people who use my .ASP script need not install anything at all.

        In any case, I can certainly try this to help debug the problem.

        Thank you.

        Richard