Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ishan Vyas 67 posts 198 karma points
    Nov 14, 2018 @ 06:13
    Ishan Vyas
    0

    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??

  • Dennis Adolfi 1082 posts 6445 karma points MVP 5x c-trib
    Nov 14, 2018 @ 08:26
    Dennis Adolfi
    100

    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!

  • Ishan Vyas 67 posts 198 karma points
    Nov 14, 2018 @ 10:24
    Ishan Vyas
    0

    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!!!

  • Dennis Adolfi 1082 posts 6445 karma points MVP 5x c-trib
    Nov 14, 2018 @ 10:30
    Dennis Adolfi
    1

    That's great Ishan! #h5yr

    Glad you found the problem!

    Have a great day and good luck with the rest of the site.

Please Sign in or register to post replies

Write your reply to:

Draft