Previous Next

Thread: Custom error messages for Service Unavailable (503) Error Messages

Last post 07-30-2008 12:44 PM by anilr. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 07-28-2008, 4:55 PM

    Custom error messages for Service Unavailable (503) Error Messages

    I need to implement capacity capping for IIS 7.0 (via setting the maximum concurrent connections property). 

    In IIS 6.0, you lost the ability to display a custom error message for a 503 error.  Does anyone know if there is a way to display a custom error message in this situation in IIS 7.0?

    Thanks,

    David

  • 07-28-2008, 11:12 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 561

    Re: Custom error messages for Service Unavailable (503) Error Messages

    Hi David,

    Would system.webServer/serverRuntime@appConcurrentRequestLimit property serve your purpose as well? I am not sure about concurrent connections limit but if you use this property, you can customize 503 message using IIS7 custom errors.

    Thanks,
    Kj

  • 07-29-2008, 8:28 AM In reply to

    Re: Custom error messages for Service Unavailable (503) Error Messages

    That might work... I am trying to do this with WSS 3.0, but I am not aware if there would be any unexpected effects from this approach.  I wonder if anyone has tried it before.

     Does a custom error for 503 work when applied just at the application level?  I could not get it to work when I applied it to the web site (it behaved the same as it did in IIS 6.0, from what I saw).

    Regards,

    David

  • 07-30-2008, 11:53 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 561

    Re: Custom error messages for Service Unavailable (503) Error Messages

    Hi David,

    503 custom error can be applied at application level. When you say it doesn't work, do you mean custom error configuration at server level is effective and not at the site level? How is system.webServer/httpErrors section looks like at site/application level?

    Thanks,
    Kj

  • 07-30-2008, 12:44 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 1,225

    Re: Custom error messages for Service Unavailable (503) Error Messages

    503 responses generated by http.sys are still not customizable.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (5 items)
Page view counter