HTTP Error 404.0 - Not Found -IIS8

Posted by Community Admin on 04-Aug-2018 11:03

HTTP Error 404.0 - Not Found -IIS8

All Replies

Posted by Community Admin on 05-Mar-2014 00:00

Hi,

Custom404 Redirecting is Successfully Redirecting in local system, But its not Working in Server(windows server 2012, IIS8),

Here is my code:

<customErrors mode="On" defaultRedirect="~/not-found">
<error statusCode="404" redirect="~/custom404" />
<error redirect="~/not-found" statusCode="403"/>
</customErrors>

Please help me how to Solve this,Here I'm Attaching Error Screen Shot,

Thanks & Advance

Ajay

Posted by Community Admin on 07-Mar-2014 00:00
Hi Ajay,

We are aware of this behavior, but it has to do with IIS 8 and .net, not our system. In order to avoid the non-functioning redirect I can suggest excluding the custom errors from the web.config and doing a 404 and 403 redirect in your global.asax file. There are abundant resources online on how to achieve this.

Regards,
Ivan D. Dimitrov
Telerik
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
This thread is closed