PageNotFound Not Found

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
9/9/2013 6:47:14 PM
Gravatar
Total Posts 9

PageNotFound Not Found

For some reason, the PageNotFound.aspx page is not displaying correctly.

If I set IIS (7, I think.  Maybe 7.5) to use it as the 404 page, it shows up with no formatting and with the page directive showing  (<%@ page = ... etc % at the top of the page>

If I don't set IIS to use it, all I get is plain text saying "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable".

I haven't made any modifications to mojoPortal, and it's the latest version available on CodePlex.

Did I forget to do something in a config file or whatever?

Hosted by Arvixe, with an MS SQL 2008 backend, and .NET 4.

Dan

(Other than that, it works beautifully.  smiley  http://www.persongo.net if you want to see.)

9/10/2013 12:11:18 PM
Gravatar
Total Posts 18439

Re: PageNotFound Not Found

Hi Dan,

Interesting MIDI generator!

The problem seems to be that IIS is returning the 404 directly and not handing the request to asp.net so it is not able to use our internal 404 page.

It seems strange though since you do have extensionless urls working and those don't correspond to files on disk but IIS is not returning a 404 and is handing the request to asp.net. It almost seems as if the PageNotFound.aspx itself is not found.

Are you using an integrated app pool?

Have you made any changes to Web.config?

I would clear the mojoportal log under Administration > System Log then cause a 404 and see if anything gets logged before IIS returns the 404

Hope that helps,

Joe

 

9/10/2013 2:58:14 PM
Gravatar
Total Posts 9

Re: PageNotFound Not Found

Interesting MIDI generator!

Thanks!  It's pretty much the only reason I have a website at all.

It seems strange though since you do have extensionless urls working and those don't correspond to files on disk but IIS is not returning a 404 and is handing the request to asp.net. It almost seems as if the PageNotFound.aspx itself is not found.

Yeah.  So I started fiddling with the IIS settings, totally screwed it up, and finally realized about 15 minutes ago that I'm an idiot and changed the setting to "Execute URL" when doing the 404 instead of serving it as a file.

It seems to have fixed the problem.  Or, if not actually fixing it, at least working around it.  Good enough.  smiley

Thanks,

Dan

 

You must sign in to post in the forums. This thread is closed to new posts.