We are a small nonprofit with limited tech support, so I appreciate any help/advice anyone has! We have an asp.net site on azure and are experiencing an increasing number of alerts and downtime -- nonresponsive site that has to be restarted. This morning it seemed as if the site was crashing when there was a call to a legacy page that doesn't exist. I wondered if someone could look at my web config and my custom 404 page and see if there is an issue there. We do have a staging site, but I can't replicate the issue on it.
This is the custom page
<%@ Page Title="Page not found" Language="VB" MasterPageFile="PathwaysBootstrap.master" %><asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server"><br /><center><h1>We're Sorry! <br /> This page has moved.</h1></center><br /> Please use the navigation menu above and to the left to find the page you were looking for, or feel free to <a href='mailto:contactus@xxxx.org'>contact us</a> for help finding what you were looking for!</asp:Content>
And this is the web config. I have also tried added some problematic malformed or legacy urls as a wildcard.
<?xml version="1.0"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration><system.web><compilation strict="false" explicit="true" targetFramework="4.5" /><httpRuntime targetFramework="4.5" requestValidationMode="2.0" /><customErrors mode="On"><error statusCode="404" redirect="FriendlyError.aspx" /></customErrors><pages validateRequest="false" /></system.web><system.webServer><httpRedirect enabled="true" exactDestination="true" httpResponseStatus="Found"><add wildcard="/maine.aspx/programhub.aspx" destination="FriendlyError.aspx" /><add wildcard="/events.aspx" destination="FriendlyError.aspx" /></httpRedirect></system.webServer><system.webServer><defaultDocument enabled="true"><files><clear /><add value="index.aspx" /></files></defaultDocument><httpErrors errorMode="Custom"><clear /><error statusCode="404" path="FriendlyError.aspx" responseMode="Redirect" /></httpErrors></system.webServer></configuration>