This is the problem you get when your controller does not inherit SurfaceController. In Umbraco, SufraceController are auto routed. It's used to handle form submission and render MVC child actions. Detail about using controllers in Umbraco can be found in below links
SurfaceController inherit is not meant to be in view file. It has to be in controller class file. @{ Html.RenderAction("RenderLogin", "Member"); } here Member is indicating your controller. You need to change in your Member controller so your controller code should be like public class MemberController : SurfaceController
No route in the route table matches the supplied values in Umbraco Cloud v8
I have been following Pauls tutorial on setting up a simple login and keep getting the error
I have the same code on Paul Seals tutorial except for the login template where I use
Does anyone know if you need to change anything for Umbraco Cloud v8.
Hi Mark,
This is the problem you get when your controller does not inherit SurfaceController. In Umbraco, SufraceController are auto routed. It's used to handle form submission and render MVC child actions. Detail about using controllers in Umbraco can be found in below links
https://our.umbraco.com/documentation/implementation/Controllers/
https://our.umbraco.com/documentation/Reference/Routing/surface-controllers
Hope this helps you to sort out your problem.
Thanks
Thanks Pasang
I am fairly new to Umbraco.
I have changed to
But now getting
Hi Mark,
SurfaceController inherit is not meant to be in view file. It has to be in controller class file.
@{ Html.RenderAction("RenderLogin", "Member"); }
here Member is indicating your controller. You need to change in your Member controller so your controller code should be likepublic class MemberController : SurfaceController
Hope this is more clear to you.
Thanks
is working on a reply...