Still can't get it to work. Here is what I did
1- Create new controller ErrorStatusController, Register it [ControllerToolboxItem(Name = "ErrorStatus", Title = "Error Status", SectionName = "CustomCMS")]
public ActionResult Index()
Response.Status = "404 Not Found";
Response.StatusCode = 404;
Response.StatusDescription = "Not Found!";
I had issue registering it, however end up doing it on the backend
2- Adding View Simply just showing <h2>Error Page 404</h2>
3- Add FeatherActionInvokerCustom
4- Update Global.asac adding FeatherActionInvokerCustom.Register(); inside Bootstrapper_Bootstrapped
5- on backend I had (default,404,500), I used it when I were doing on application level that caused some issue logging me out after certain time when I work on backend.
On default, I dropped Error Status mvc and still showing The controller with the name
cannot be resolved.
However, 2 things to mention
1- I didn't update/add anything to web.config
2- I had issue when I create controller saying folder/files exist show all. I fixed that but could be an issue.
Any thought what I'm missing ?
Can you provide sample for handling 404,500 ?