Copied to clipboard

Flag this post as spam?

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


  • bh 408 posts 1395 karma points
    Jul 19, 2017 @ 20:50
    bh
    0

    Layout Page Could Not be Found

    I'm getting this error message:

    The layout page "MasterPage.cshtml" could not be found at the following path: "~/Views/MasterPage.cshtml".

    I checked the Views folder, and in fact the file does not exist. But, I don't know why that is.

    Thought this might help explain my setup in case I've setup something wrong.

    enter image description here

  • Nicholas Westby 2054 posts 7100 karma points c-trib
    Jul 19, 2017 @ 20:59
    Nicholas Westby
    1

    Perhaps it got deleted somehow? Maybe try creating it again on the file system (assuming you have a backup in source control). That is, don't create it via the back office interface, as it already seems to exist there.

  • bh 408 posts 1395 karma points
    Jul 20, 2017 @ 12:51
    bh
    100

    Thanks again @NicholasWestby! I ended up creating a new template called Master and copied the content from MasterPage into it, and that worked.

  • Sven Geusens 169 posts 881 karma points c-trib
    Jul 20, 2017 @ 15:32
    Sven Geusens
    0

    Hey Bh, could you mark the correct answer so that future Umbracians can easily find it? Cheers!

Please Sign in or register to post replies

Write your reply to:

Draft