Copied to clipboard

Flag this post as spam?

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


  • abbe 10 posts 80 karma points
    Sep 22, 2019 @ 16:16
    abbe
    0

    No route in the route table matches the supplied values.

    Happy Sunday Umbraco family. I am following Paul Seal tutorial: How to build a site with Umbraco - Part 2 - Setting up the master template.

    I keep getting this error. Could someone help me please.

    enter image description here

  • Marc Goodson 1415 posts 9546 karma points MVP 5x c-trib
    Sep 22, 2019 @ 21:08
    Marc Goodson
    0

    Hi abbe

    Does your SiteLayoutController inherit from SurfaceController?

    and has your solution been rebuilt since you created it?

    (also this series of videos are for V7, so you might find issues later on if you are using V8 - he's just started doing a new series for V8 at the moment)

    regards

    Marc

  • abbe 10 posts 80 karma points
    Sep 22, 2019 @ 22:39
    abbe
    0

    yes it inherit from surface controller. I'd also rebuild the solution. Also instead of cshtml when I partial view the header, I get vbhtml. ![enter image description here][1]

    enter image description here

  • abbe 10 posts 80 karma points
    Sep 22, 2019 @ 22:48
    abbe
    0

    enter image description here

  • abbe 10 posts 80 karma points
    Sep 22, 2019 @ 22:48
    abbe
    0

    enter image description here

  • AddWeb Solution Pvt. Ltd 71 posts 291 karma points
    Sep 23, 2019 @ 05:32
    AddWeb Solution Pvt. Ltd
    0

    Hello,

    Is Your page "webpage.cshtml" inherited from "Umbraco.Web.Mvc.UmbracoViewPage"

    @inherits Umbraco.Web.Mvc.UmbracoViewPage

  • abbe 10 posts 80 karma points
    Sep 24, 2019 @ 00:12
    abbe
    0

    Thanks for the reply. It @inherits Umbraco.Web.Mvc.UmbracoViewPage. Still the same issue.

    enter image description here

  • AddWeb Solution Pvt. Ltd 71 posts 291 karma points
    Sep 25, 2019 @ 05:52
    AddWeb Solution Pvt. Ltd
    0

    Hello,

    You need to put the header in "SharedLayout" folder, it seems to be put in "Sitelayout" folder where it will not be accessible everywhere

  • abbe 10 posts 80 karma points
    Sep 26, 2019 @ 12:00
    abbe
    0

    Thank for the response and excuse my question if it sounds retarded, I'm am new to umbraco. Do I add a sharedlayout folder or I just add header to the shared folder like I did? enter image description here

    Also am I referencing it correctly? Please to let me know if you see anything needing correction and share such code with me. Thanks! Much appreciated. enter image description here also here: enter image description here

  • abbe 10 posts 80 karma points
    Sep 26, 2019 @ 21:21
    abbe
    0

    This is what I get after doing all I did:enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft