Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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.
Thanks again @NicholasWestby! I ended up creating a new template called Master and copied the content from MasterPage into it, and that worked.
Hey Bh, could you mark the correct answer so that future Umbracians can easily find it? Cheers!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Layout Page Could Not be Found
I'm getting this error message:
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.
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.
Thanks again @NicholasWestby! I ended up creating a new template called Master and copied the content from MasterPage into it, and that worked.
Hey Bh, could you mark the correct answer so that future Umbracians can easily find it? Cheers!
is working on a reply...