Copied to clipboard

Flag this post as spam?

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


  • Muhammad Humayun 49 posts 79 karma points
    Sep 26, 2019 @ 13:49
    Muhammad Humayun
    0

    Umbraco 8 with blank installation is throwing error CS0234 upon creating a docType+Template and a Home page in content

    Hi,

    I just installed Umbraco 8 on shared hosting with blank (no sample website). Now I have created a doctype, added some properties. Like Logo of website as mediaupload. Also added template and created a content page "Home" but it is throwing error (screenshot below).

    Any idea how to resolve? People have been discussing about compiling models in Visual Studio for this error code "CS0234" but we need the application doctypes and templates being added on the website directly.

    Note: On the same hosting, I had Umbraco 7.14 which has been working all ok.

    SCREENSHOT enter image description here

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Sep 26, 2019 @ 13:55
    Dave Woestenborghs
    100

    Hi,

    Is your view starting with the following ?

    @inherits UmbracoTemplatePage 
    

    This does not exist in V8 anymore. You should use

    @inherits UmbracoViewPage
    

    Dave

  • Muhammad Humayun 49 posts 79 karma points
    Sep 26, 2019 @ 18:34
    Muhammad Humayun
    0

    That was spot on, great help indeed. I hope would soon learn new things in Umbraco 8.

Please Sign in or register to post replies

Write your reply to:

Draft