I wanted to add the member login in the frontend of the site so that the members can login to the website. For that i followed the steps given by Paul Seal in the tutorial "Tutorial how to create member login and logout form in Umbraco MVC" but it is not working i am getting error like below:-
System.InvalidOperationException: No route in the route table matches the supplied values.
@{ Html.RenderAction("RenderLogin", "Member"); }
i can't figure out what am i doing wrong please guide me what the error is about and what should i do to rectify it??
This error usually pops up when you try to request a non registered route.
So you've created a MemberController like Paul does in his tutorial? Have you made sure that it is a SurfaceController and not a regular MVC Controller?
Also make sure your ActionResult relaly is named RenderLogin.
If this does not work, could you post you MemberControlelr code here please?
i got to know the problem, it was regarding surface controller as you mentioned. also i was referencing the partial view wrongly so i rectified it and it worked out for me. Thanks Dennis Sir!!! Have a gud day!!!
Member Login
I wanted to add the member login in the frontend of the site so that the members can login to the website. For that i followed the steps given by Paul Seal in the tutorial "Tutorial how to create member login and logout form in Umbraco MVC" but it is not working i am getting error like below:-
i can't figure out what am i doing wrong please guide me what the error is about and what should i do to rectify it??
Hi Ishan.
This error usually pops up when you try to request a non registered route.
So you've created a MemberController like Paul does in his tutorial? Have you made sure that it is a SurfaceController and not a regular MVC Controller?
Also make sure your ActionResult relaly is named RenderLogin.
If this does not work, could you post you MemberControlelr code here please?
Have a great day!
i got to know the problem, it was regarding surface controller as you mentioned. also i was referencing the partial view wrongly so i rectified it and it worked out for me. Thanks Dennis Sir!!! Have a gud day!!!
That's great Ishan! #h5yr
Glad you found the problem!
Have a great day and good luck with the rest of the site.
is working on a reply...