Copied to clipboard

Flag this post as spam?

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

  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    May 10, 2019 @ 07:32
    Jesper Skjønnemand

    I hope to use v8 for a new website, but even simple things seem out of order.

    I just created this super simple template, or actually Umbraco created most of it from Create Document Type With Template and Insert Value. I only selected two values and wrapped them in h1 and p.

    But ... preview displays the yellow pages (Server Error in '/' Application)

    @inherits Umbraco.Web.Mvc.UmbracoViewPage<ContentModels.Page>
    @using ContentModels = Umbraco.Web.PublishedModels;
        Layout = "mainTemplate.cshtml";

    How can this not work?

  • Nik 1601 posts 7202 karma points MVP 6x c-trib
    May 10, 2019 @ 07:50

    Hey Jesper,

    Do you have any more details about the error at all? The yellow page you are seeing would normally give you a lot more details about what as gone wrong as at a quick glance the code you've shared looks okay.

    The more information you can share the easier it might be for someone to help :-)



  • Jesper Skjønnemand 66 posts 441 karma points c-trib
    May 10, 2019 @ 07:58
    Jesper Skjønnemand

    Hi Nik

    I am working on Umbraco Cloud as is, and this is what it displays:

    enter image description here

    I am by no means an expert, but I have managed to build a few sites in v7. However, not much of that code seems to work in v8.


  • Tarik 181 posts 803 karma points c-trib
    May 16, 2019 @ 09:37

    Jesper Skjønnemand, there are many changes from v7 to v8 here is a link I posted to Shannon's pdf.

  • Claushingebjerg 937 posts 2572 karma points
    May 16, 2019 @ 09:15

    Use Kudu to set custom errors to "off" in your webconfig, to get better error details.

Please Sign in or register to post replies

Write your reply to: