404 site shows IIS 404 page instead of umbraco 404 page
Hi
I have a windows server 2008 R2 server with IIS 7 running a umbraco 4.7.1 website using .NET 4.0. At some (unknown) time the 404 page of umbraco started not showing when I request a URL that doesnt exists. I have the original 404handlers.config - folder permissions i correctly. Do anyone have an idea of what could be wrong and how to fix it?
We updated umbraco from 4.6.1 to 4.7.1 but saved all config files and merged them after update - so should be as before. We have the same problem on many of our other umbraco sites where we updated from IIS6 to IIS7. But dont know when it started happening to not work - so need somehow to get an idea of what to try and change to see if it helps. But as of now it looks like umbraco doesnt get the change to do the 404 page as IIS overrules - so some way to stop IIS from doing this is maybe the place to start - but dont know how.
Thanks for the link - i tried the httpErrors in the web.config that Tom Fulton wrote about. It worked so i dont get the ugly IIS 404 page, BUT it doesnt solve my problem because i need the umbraco 404 handler to fetch the request. Have other ideas any of you?
404 site shows IIS 404 page instead of umbraco 404 page
Hi
I have a windows server 2008 R2 server with IIS 7 running a umbraco 4.7.1 website using .NET 4.0. At some (unknown) time the 404 page of umbraco started not showing when I request a URL that doesnt exists. I have the original 404handlers.config - folder permissions i correctly. Do anyone have an idea of what could be wrong and how to fix it?
Kind regards
Anders
Hi Anders
What does the <errorPage> element in your umbracoSettings.config look like?
/Jan
Hi Jan
<errors>
<error404>1051</error404>
<errors>
Changed it to test with errorPage as well and doesnt work either
Hmmm, yeah that should be working.
Have there been any modifications to the web.config or on IIS that overrules this?
/Jan
We updated umbraco from 4.6.1 to 4.7.1 but saved all config files and merged them after update - so should be as before. We have the same problem on many of our other umbraco sites where we updated from IIS6 to IIS7. But dont know when it started happening to not work - so need somehow to get an idea of what to try and change to see if it helps. But as of now it looks like umbraco doesnt get the change to do the 404 page as IIS overrules - so some way to stop IIS from doing this is maybe the place to start - but dont know how.
Kind regards
Anders
Hey Anders,
I know Chriztian had simular problems a while back, anything here that helps? http://our.umbraco.org/forum/getting-started/installing-umbraco/25344-How-are-you-getting-a-simple-404-error-page-working
Rich
Hi Rich
Thanks for the link - i tried the httpErrors in the web.config that Tom Fulton wrote about. It worked so i dont get the ugly IIS 404 page, BUT it doesnt solve my problem because i need the umbraco 404 handler to fetch the request. Have other ideas any of you?
Kind regards
Anders
Hi, I have just have had same problem after migrating a site from 4.7.0 to 4.7.1.
I found the solution on another post (http://our.umbraco.org/forum/using/ui-questions/8244-IIS7-404)
I added
<httpErrors existingResponse="PassThrough" />
as the last entry in the <system.webServer> section of web.config and it worked great!
hope this helps...
Rory
Hi Rory
It worked - thanks for the help everyone!
Kind regards
Anders
is working on a reply...