Copied to clipboard

Flag this post as spam?

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


  • Jonathon Berg 6 posts 86 karma points
    Jul 14, 2023 @ 08:09
    Jonathon Berg
    0

    Umbraco 12 fault after adding

    Hello

    I have a simple issue - but we can't solve it, so after two days, I am appealing to the community.

    The issue is with Umbraco 12, running on a Windows Azure virtual server (Windows Server 2016 Datacentre) with IIS 7 and SQL 2019.

    The server is already running Umbraco v8 and v9 sites okay.

    I installed Umbraco 12 and configured it and it runs just fine when empty, but after adding a starter kit (e.g. Atomic.StarterKit and OskiStarterKit) we get a 500 web error when accessing the site remotely. Weirdly, access to the backoffice /umbraco still works, but the site itself doesn't run.

    To address obvious answers, * Yes, the application pool is set to unmanaged code * Yes the models have been rebuilt * Yes, the site builds, publishes and runs locally on localhost okay with no 500 error.

    I have cleaned and re-installed several times now but can't get past this. Any suggestions on where to look, please?

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Jul 14, 2023 @ 09:28
    Huw Reddick
    100

    Hi Jonathon,

    If the site runs OK when empty then it sounds like something in one of the starterkit templates causing a problem.

    Are you able to RDP to the server? If you are I would suggest looking in the windows Event Log to see if it provides any insight as to what is causing the error (500 errors normally get written to the Event Log).

    Also, have you looked in the Umbraco Logs to see if it hase any log entires that might also point to the under lying issue?

  • Jonathon Berg 6 posts 86 karma points
    Jul 14, 2023 @ 09:38
    Jonathon Berg
    0

    Thanks - I will try that now....

  • Jonathon Berg 6 posts 86 karma points
    Jul 14, 2023 @ 10:58
    Jonathon Berg
    0

    Thank you for the steer.

    The Windows event log wasn't very helpful but the Umbraco logs show a "The type or namespace name 'DesignPageViewModel' could not be found". However, I find no reference to DesignPageViewModel in either the source folder or a Google search.

  • Huw Reddick 1929 posts 6697 karma points MVP 2x c-trib
    Jul 14, 2023 @ 11:21
    Huw Reddick
    0

    Are you running locally in something like Visual studio? could be it is being referenced from inside the starterkit dll's rather than a source or template file.

  • Jonathon Berg 6 posts 86 karma points
    Jul 14, 2023 @ 12:12
    Jonathon Berg
    0

    No, I have been using the CLI. However I might try a VS approach and see if that works better if I can't solve this....

  • Jonathon Berg 6 posts 86 karma points
    Jul 14, 2023 @ 19:18
    Jonathon Berg
    1

    Yes, doing it that way seems to work. Thank you for your moral support and advice.

Please Sign in or register to post replies

Write your reply to:

Draft