We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Custom error page for "Query timeout expired" errors?

    Apr 21, 2021 08:53 AM|samwu|LINK

    Hi Chenks76,


    URL rewrite based on what though?
    i would need to create a rewrite rule for every single page where this might happen?

    the error is displayed in the content of the page (and numerous others that do a similar thing), not the URL

    You can redirect the url of the error page to 404.

    Best regards,


    IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >