|
 |
asptoday_discuss thread: Server Error Message override
Message #1 by "Pixelpushers" <asptoday@p...> on Tue, 26 Mar 2002 15:34:51 -0800
|
|
I have a new client and I just inherited a pre-existing website with a
weird setting.
Somehow, the previous webmaster has trapped the ASP error message.
This is not done with the "Custom Error" tab in the properties page for
that website.
The page does not redirect.
Instead of writing out a message like:
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/includes/header.inc, line 65
This server just outputs:
Error, Yell at Justin.
If anyone knows how this might have been done, I would appreciate the
advice greatly.
Thanks in advance,
-Jerry
Message #2 by Lawrence Yap <assoc_con@y...> on Tue, 26 Mar 2002 17:17:17 -0800 (PST)
|
|
Hello Jerry,
He might be using Javascript as language in an
error asp page that writes on the message on the page
on the onLoad event or an asp page that's being called
and after a condition for error, Response.Write's on
the web page.
I hope this helps.
Lawrence
--- Pixelpushers <asptoday@p...> wrote:
> I have a new client and I just inherited a
> pre-existing website with a
> weird setting.
>
> Somehow, the previous webmaster has trapped the ASP
> error message.
> This is not done with the "Custom Error" tab in the
> properties page for
> that website.
> The page does not redirect.
> Instead of writing out a message like:
>
> Server object error 'ASP 0178 : 80070005'
>
> Server.CreateObject Access Error
>
> /includes/header.inc, line 65
>
> This server just outputs:
>
> Error, Yell at Justin.
>
> If anyone knows how this might have been done, I
> would appreciate the
> advice greatly.
>
> Thanks in advance,
>
> -Jerry
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
Message #3 by "Pixelpushers" <asptoday@p...> on Tue, 26 Mar 2002 17:34:01 -0800
|
|
Unfortunately this is not the case.
Even if I create a new .asp file with the following contents:
<%
Response.Write "Hello"
call badfunction()
%>
The output is:
HelloError, Yell at Justin.
It doesn't appear to be a system wide change either.
This same file in another web server on the same machine will display
the correct ASP error.
-Jerry
-----Original Message-----
From: Lawrence Yap [mailto:assoc_con@y...]
Sent: Tuesday, March 26, 2002 5:17 PM
To: ASPToday Discuss
Subject: [asptoday_discuss] Re: Server Error Message override
Hello Jerry,
He might be using Javascript as language in an
error asp page that writes on the message on the page
on the onLoad event or an asp page that's being called
and after a condition for error, Response.Write's on
the web page.
I hope this helps.
Lawrence
--- Pixelpushers <asptoday@p...> wrote:
> I have a new client and I just inherited a
> pre-existing website with a
> weird setting.
>
> Somehow, the previous webmaster has trapped the ASP
> error message.
> This is not done with the "Custom Error" tab in the properties page
> for that website.
> The page does not redirect.
> Instead of writing out a message like:
>
> Server object error 'ASP 0178 : 80070005'
>
> Server.CreateObject Access Error
>
> /includes/header.inc, line 65
>
> This server just outputs:
>
> Error, Yell at Justin.
>
> If anyone knows how this might have been done, I
> would appreciate the
> advice greatly.
>
> Thanks in advance,
>
> -Jerry
>
>
Message #4 by Lawrence Yap <assoc_con@y...> on Thu, 28 Mar 2002 05:46:24 -0800 (PST)
|
|
Hello Jerry,
So somehow it seems he is checking a "server"
object or something to determine what machine he's on
and base upon the conditions, he displays the
appropriate message.
Aren't there any other error pages? Try
investigating the asp page where the error occurs.
I'm sure he's just doing an "IF THEN ELSE" and
Response.Write's this "Yell at Justin" message.
Lawrence
--- Pixelpushers <asptoday@p...> wrote:
> Unfortunately this is not the case.
>
> Even if I create a new .asp file with the following
> contents:
> <%
> Response.Write "Hello"
> call badfunction()
> %>
>
> The output is:
> HelloError, Yell at Justin.
>
> It doesn't appear to be a system wide change either.
>
> This same file in another web server on the same
> machine will display
> the correct ASP error.
>
> -Jerry
>
> -----Original Message-----
> From: Lawrence Yap [mailto:assoc_con@y...]
> Sent: Tuesday, March 26, 2002 5:17 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Re: Server Error Message
> override
>
>
> Hello Jerry,
> He might be using Javascript as language in an
> error asp page that writes on the message on the
> page
> on the onLoad event or an asp page that's being
> called
> and after a condition for error, Response.Write's on
> the web page.
>
> I hope this helps.
>
> Lawrence
> --- Pixelpushers <asptoday@p...> wrote:
> > I have a new client and I just inherited a
> > pre-existing website with a
> > weird setting.
> >
> > Somehow, the previous webmaster has trapped the
> ASP
> > error message.
> > This is not done with the "Custom Error" tab in
> the properties page
> > for that website.
> > The page does not redirect.
> > Instead of writing out a message like:
> >
> > Server object error 'ASP 0178 : 80070005'
> >
> > Server.CreateObject Access Error
> >
> > /includes/header.inc, line 65
> >
> > This server just outputs:
> >
> > Error, Yell at Justin.
> >
> > If anyone knows how this might have been done, I
> > would appreciate the
> > advice greatly.
> >
> > Thanks in advance,
> >
> > -Jerry
> >
> >
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
Message #5 by "Pixelpushers" <asptoday@p...> on Thu, 28 Mar 2002 10:16:40 -0800
|
|
Nope that's not it...
I was able to talk to the previous webmaster.
In IIS... Under the "Home Directory" Tab.
You click on "Configuration..." and select the "App Debugging" Tab.
There you can set the "Script Error Messages" to be either the standard
detailed ASP error message or a custom text error message.
He had selected the custom text error message and set it to "Error, Yell
at Justin."
-Jerry
-----Original Message-----
From: Lawrence Yap [mailto:assoc_con@y...]
Sent: Thursday, March 28, 2002 5:46 AM
To: ASPToday Discuss
Subject: [asptoday_discuss] Re: Server Error Message override
Hello Jerry,
So somehow it seems he is checking a "server"
object or something to determine what machine he's on
and base upon the conditions, he displays the
appropriate message.
Aren't there any other error pages? Try
investigating the asp page where the error occurs.
I'm sure he's just doing an "IF THEN ELSE" and
Response.Write's this "Yell at Justin" message.
Lawrence
--- Pixelpushers <asptoday@p...> wrote:
> Unfortunately this is not the case.
>
> Even if I create a new .asp file with the following
> contents:
> <%
> Response.Write "Hello"
> call badfunction()
> %>
>
> The output is:
> HelloError, Yell at Justin.
>
> It doesn't appear to be a system wide change either.
>
> This same file in another web server on the same
> machine will display
> the correct ASP error.
>
> -Jerry
>
> -----Original Message-----
> From: Lawrence Yap [mailto:assoc_con@y...]
> Sent: Tuesday, March 26, 2002 5:17 PM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Re: Server Error Message
> override
>
>
> Hello Jerry,
> He might be using Javascript as language in an
> error asp page that writes on the message on the
> page
> on the onLoad event or an asp page that's being
> called
> and after a condition for error, Response.Write's on
> the web page.
>
> I hope this helps.
>
> Lawrence
> --- Pixelpushers <asptoday@p...> wrote:
> > I have a new client and I just inherited a
> > pre-existing website with a
> > weird setting.
> >
> > Somehow, the previous webmaster has trapped the
> ASP
> > error message.
> > This is not done with the "Custom Error" tab in
> the properties page
> > for that website.
> > The page does not redirect.
> > Instead of writing out a message like:
> >
> > Server object error 'ASP 0178 : 80070005'
> >
> > Server.CreateObject Access Error
> >
> > /includes/header.inc, line 65
> >
> > This server just outputs:
> >
> > Error, Yell at Justin.
> >
> > If anyone knows how this might have been done, I
> > would appreciate the
> > advice greatly.
> >
> > Thanks in advance,
> >
> > -Jerry
> >
> >
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy AwardsR
http://movies.yahoo.com/
Message #6 by Lawrence Yap <assoc_con@y...> on Fri, 29 Mar 2002 13:29:06 -0800 (PST)
|
|
So it's not even a scripting code :-)
thanks for the info.
Lawrence
--- Pixelpushers <asptoday@p...> wrote:
> Nope that's not it...
>
> I was able to talk to the previous webmaster.
>
> In IIS... Under the "Home Directory" Tab.
> You click on "Configuration..." and select the "App
> Debugging" Tab.
>
> There you can set the "Script Error Messages" to be
> either the standard
> detailed ASP error message or a custom text error
> message.
>
> He had selected the custom text error message and
> set it to "Error, Yell
> at Justin."
>
> -Jerry
>
> -----Original Message-----
> From: Lawrence Yap [mailto:assoc_con@y...]
> Sent: Thursday, March 28, 2002 5:46 AM
> To: ASPToday Discuss
> Subject: [asptoday_discuss] Re: Server Error Message
> override
>
>
> Hello Jerry,
>
> So somehow it seems he is checking a "server"
> object or something to determine what machine he's
> on
> and base upon the conditions, he displays the
> appropriate message.
>
> Aren't there any other error pages? Try
> investigating the asp page where the error occurs.
> I'm sure he's just doing an "IF THEN ELSE" and
> Response.Write's this "Yell at Justin" message.
>
> Lawrence
>
> --- Pixelpushers <asptoday@p...> wrote:
> > Unfortunately this is not the case.
> >
> > Even if I create a new .asp file with the
> following
> > contents:
> > <%
> > Response.Write "Hello"
> > call badfunction()
> > %>
> >
> > The output is:
> > HelloError, Yell at Justin.
> >
> > It doesn't appear to be a system wide change
> either.
> >
> > This same file in another web server on the same
> > machine will display
> > the correct ASP error.
> >
> > -Jerry
> >
> > -----Original Message-----
> > From: Lawrence Yap [mailto:assoc_con@y...]
> > Sent: Tuesday, March 26, 2002 5:17 PM
> > To: ASPToday Discuss
> > Subject: [asptoday_discuss] Re: Server Error
> Message
> > override
> >
> >
> > Hello Jerry,
> > He might be using Javascript as language in
> an
> > error asp page that writes on the message on the
> > page
> > on the onLoad event or an asp page that's being
> > called
> > and after a condition for error, Response.Write's
> on
> > the web page.
> >
> > I hope this helps.
> >
> > Lawrence
> > --- Pixelpushers <asptoday@p...>
> wrote:
> > > I have a new client and I just inherited a
> > > pre-existing website with a
> > > weird setting.
> > >
> > > Somehow, the previous webmaster has trapped the
> > ASP
> > > error message.
> > > This is not done with the "Custom Error" tab in
> > the properties page
> > > for that website.
> > > The page does not redirect.
> > > Instead of writing out a message like:
> > >
> > > Server object error 'ASP 0178 : 80070005'
> > >
> > > Server.CreateObject Access Error
> > >
> > > /includes/header.inc, line 65
> > >
> > > This server just outputs:
> > >
> > > Error, Yell at Justin.
> > >
> > > If anyone knows how this might have been done, I
> > > would appreciate the
> > > advice greatly.
> > >
> > > Thanks in advance,
> > >
> > > -Jerry
> > >
> > >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy AwardsR
> http://movies.yahoo.com/
>
>
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
|
|
 |