Pagenotfound.aspx in IE7

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.
1/11/2010 6:46:15 PM
Gravatar
Total Posts 125

Pagenotfound.aspx in IE7

I configured my host to redirect to the pagenotfound.aspx for a 404 error. It works fine in IE8 and Fireforx, but the site freezes when I switched to IE 7. Any ideas?

 

1/13/2010 6:21:50 AM
Gravatar
Total Posts 18439

Re: Pagenotfound.aspx in IE7

I have no idea. But really the creation of the PageNotFound.aspx page was not intended for configuring IIS to redirect to that page. For urls handled by .NET, our page not found handler automatically responds and it does not re-direct to this page it just makes a server side web request for the page and scrapes its content and then writes the content to the response while keeping the status code as 404. If it did a redirect then the status code would be 200 rather than 404.

Best,

Joe

1/13/2010 2:16:00 PM
Gravatar
Total Posts 125

Re: Pagenotfound.aspx in IE7

Thanks for answering.

Pagenotfound.aspx cannot work consistently. I don't know the reason. Sometimes it can be populated from my local machine and sometimes cannot. Same thing happens in the host space. Normally, I just sent up a custom error redirection in the host space to work around.  I just check this function in the demo.mojoportal.com and it does not show up either.

1/14/2010 2:53:16 PM
Gravatar
Total Posts 18439

Re: Pagenotfound.aspx in IE7

I see what you mean. I think it must be some IIS 7 configuration but I'm not sure what.

On my local machine using IIS 7 it works 100% of the time and on demo.mojoportal.com the log shows that the PageNotFoundHttpModule did handle the 404 and yet somehow IIS is returning the default 404 page.

It was working fine before I migrated from Win 2003/IIS 6 to Win 2008 IIS 7, and yet it works fine on my local Win 7 /IIS 7 machine. So it seems it must be a configuration difference somewhere.

Best,

Joe

1/22/2010 8:38:34 AM
Gravatar
Total Posts 18439

Re: Pagenotfound.aspx in IE7

Hi,

See this thread, I found a solution for this issue.

Best,

Joe

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