Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: ASP PerlScript equivalent for use CGI::Carp qw(fatalsToBrowser);

by Jenda (Abbot)
on Nov 10, 2002 at 16:40 UTC ( #211764=note: print w/replies, xml ) Need Help??


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

  • Comment on Re: ASP PerlScript equivalent for use CGI::Carp qw(fatalsToBrowser);

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://211764]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-02-05 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?