How can I change the path to my controller / action using httpErrors ?
I have this code:
<httpErrors errorMode="Custom"> <remove statusCode="404"/> <error responseMode="ExecuteURL" statusCode="404" path="Error/HttpRequestError"/> </httpErrors>
But that will not work. Blank page display and action not entered.
What am I doing wrong?
PS I know about another way to handle custom page errors. But I want to try using it.
Thanks!
Sergey Shoshin
source share