Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

IIS doesn't redirect to error 500 custom page

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Author Message
tostinni

External


Since: Aug 23, 2004
Posts: 4



(Msg. 1) Posted: Mon Aug 23, 2004 5:49 pm
Post subject: IIS doesn't redirect to error 500 custom page
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi everybody,
I'm trying to set up a custom 500 error handling in IIS6
So I follow help on these web pages
http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en.../cerr_e
and
http://support.microsoft.com/default.aspx?scid=kb;en-us;224070

But even configurating custom error in my Web site properties, I still got
the traditional ASP error...

Microsoft VBScript runtime error '800a000b'
Division by zero
/error.asp, line 9

Do I miss configuring something ?

For exemple, if I handle 404 error with my custom 500 page, I'm redirected
fine.
So I don't understand what's going on with all error 500 Sad

Thanks a lot

Nicolas

 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
user641

External


Since: Aug 22, 2003
Posts: 1637



(Msg. 2) Posted: Mon Aug 23, 2004 7:07 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Nicolas Tostin" <tostinni DeleteThis @free.fr> wrote in message
news:412a4a55$0$294$626a14ce@news.free.fr...
 > Hi everybody,
 > I'm trying to set up a custom 500 error handling in IIS6
 > So I follow help on these web pages
 >
<a style='text-decoration: underline;' href="http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en-us/cerr_enablingasp.mspx" target="_blank">http://www.microsoft.com/resources/documentation/iis/6/all/proddocs/en.../cerr_e</a>
 > and
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;224070</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;224070</font</a>>
 >
 > But even configurating custom error in my Web site properties, I still got
 > the traditional ASP error...
 >
 > Microsoft VBScript runtime error '800a000b'
 > Division by zero
 > /error.asp, line 9
 >
 > Do I miss configuring something ?

Is there an error on your custom error page?

--
Tom Kaminski IIS MVP
<a style='text-decoration: underline;' href="http://www.microsoft.com/windowsserver2003/community/centers/iis/" target="_blank">http://www.microsoft.com/windowsserver2003/community/centers/iis/</a>
<a style='text-decoration: underline;' href="http://mvp.support.microsoft.com/" target="_blank">http://mvp.support.microsoft.com/</a>
<a style='text-decoration: underline;' href="http://www.iisfaq.com/" target="_blank">http://www.iisfaq.com/</a>
<a style='text-decoration: underline;' href="http://www.iistoolshed.com/" target="_blank">http://www.iistoolshed.com/</a> - tools, scripts, and utilities for running IIS
<a style='text-decoration: underline;' href="http://www.tryiis.com" target="_blank">http://www.tryiis.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
tostinni

External


Since: Aug 23, 2004
Posts: 4



(Msg. 3) Posted: Mon Aug 23, 2004 7:25 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

No, I don't think so....
Because when I call it directly, it works.
Sad
I just copy it from :
<a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;224070" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;224070</a>

 > Is there an error on your custom error page?
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 4) Posted: Tue Aug 24, 2004 12:39 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Please post the first 9 lines of the file /error.asp

Thanks

Cheers
Ken


"Nicolas Tostin" <tostinni.DeleteThis@free.fr> wrote in message
news:412a60cd$0$287$626a14ce@news.free.fr...
 > No, I don't think so....
 > Because when I call it directly, it works.
 > Sad
 > I just copy it from :
<font color=purple> > <a style='text-decoration: underline;' href="http://support.microsoft.com/default.aspx?scid=kb;en-us;224070</font" target="_blank">http://support.microsoft.com/default.aspx?scid=kb;en-us;224070</font</a>>
 >
  >> Is there an error on your custom error page?
  >>
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
tostinni

External


Since: Aug 23, 2004
Posts: 4



(Msg. 5) Posted: Tue Aug 24, 2004 12:39 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,
I manage to find my error, it was that Response.Buffer was set up to false.
So I put a Response.Buffer = true in my page to test it, and then I activate
"enable buffering" in the options of my site web and it works great.

Thanks for your help.

Nicolas


"Ken Schaefer" <kenREMOVE RemoveThis @THISadOpenStatic.com> escribió en el mensaje
news:OC2m%23pWiEHA.2448@TK2MSFTNGP12.phx.gbl...
 > Please post the first 9 lines of the file /error.asp
 >
 > Thanks
 >
 > Cheers
 > Ken
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 6) Posted: Tue Aug 24, 2004 12:56 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I don't think lack of buffering would would cause a "divide by 0" error. Can
you pleae post the first 9 lines of your code?

Thanks

Cheers
Ken


"Nicolas Tostin" <tostinni.RemoveThis@free.fr> wrote in message
news:412a8390$0$289$626a14ce@news.free.fr...
 > Hi,
 > I manage to find my error, it was that Response.Buffer was set up to
 > false.
 > So I put a Response.Buffer = true in my page to test it, and then I
 > activate
 > "enable buffering" in the options of my site web and it works great.
 >
 > Thanks for your help.
 >
 > Nicolas
 >
 >
 > "Ken Schaefer" <kenREMOVE.RemoveThis@THISadOpenStatic.com> escribió en el mensaje
 > news:OC2m%23pWiEHA.2448@TK2MSFTNGP12.phx.gbl...
  >> Please post the first 9 lines of the file /error.asp
  >>
  >> Thanks
  >>
  >> Cheers
  >> Ken
  >>
  >>
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
tostinni

External


Since: Aug 23, 2004
Posts: 4



(Msg. 7) Posted: Tue Aug 24, 2004 12:56 pm
Post subject: Re: IIS doesn't redirect to error 500 custom page [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ok sorry for the lack of precisions :
I was testing the way to trap error 500
So I just wrote a Response.Write 1/0 to generate an error and then see how
will react may Custom Asp 500 error page Smile

Thanks for your help

Nicolas

"Ken Schaefer" <kenREMOVE.DeleteThis@THISadOpenStatic.com> escribió en el mensaje
news:OGsKSzWiEHA.2952@TK2MSFTNGP09.phx.gbl...
 > I don't think lack of buffering would would cause a "divide by 0" error.
Can
 > you pleae post the first 9 lines of your code?
 >
 > Thanks
 >
 > Cheers
 > Ken
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: IIS doesn't redirect to error 500 custom page 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]