Hey guys, pardon me for butting in here. I'm pretty new to Mojo, and I was just exploring the friendly 404 feature to see how it works and how I can customize it. What I'm finding is that the handler's not working on my dev site. It also doesn't seem to be working on www.mojoportal.com and demo.mojoportal.com. On all three, when I hit an invalid URL I get the generic "Server Error, 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable." On my site, the System Log shows this error (seems identical to Joe D's):
2010-01-21 15:37:38,942 ERROR mojoPortal.Web.PageNotFoundHttpModule - 10.1.102.199 PageNotFoundHttpModule handled error.
System.Web.HttpException: The file '/bzzzzzt.aspx' does not exist.
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I'm running IIS 7 under Windows Server 2008 standard.
Thanks,
Jamie