Look for this in httpModules section:
<add name="PageNotFoundHandler" type="mojoPortal.Web.PageNotFoundHttpModule, mojoPortal.Web" />
and comment it out like this:
<!--
<add name="PageNotFoundHandler" type="mojoPortal.Web.PageNotFoundHttpModule, mojoPortal.Web" />
-->
You should make notes about this customization so you remember it when you upgrade later. It is important always to use the newWeb.config and re-apply customizations like this.