Copied to clipboard

Flag this post as spam?

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


  • Fenil Desai 3 posts 73 karma points notactivated
    May 17, 2023 @ 22:11
    Fenil Desai
    0

    Migrating umbraco application to Azure

    Hi - I am trying to migrate an application using Umbraco 8.17 from on prem to Azure. I have migrated the DB in Azure to SQL MI. Deployed the app to Azure, updated the connection string with the SQL MI one.

    Even updated the connection string with Authentication=Active Directory Managed Identity, but still getting the below error:

    -> Umbraco.Core.Exceptions.BootFailedException: Boot failed.

    -> System.TimeoutException: Cannot acquire MainDom at Umbraco.Core.Runtime.MainDom.Acquire() at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory) at Umbraco.Core.Runtime.MainDom.get_IsMainDom() at Umbraco.Core.Runtime.CoreRuntime.AcquireMainDom(IMainDom mainDom) at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer)

    After checking the logs, error seems to be as below:

    Unable to resolve type: Umbraco.Core.Services.ServiceContext, service name:

    Any help would be greatly appreciated.

  • James Shelley 9 posts 103 karma points
    May 22, 2023 @ 13:23
    James Shelley
    0

    Are you following the recommended configuration settings for running on an Azure App Service?

    For version 8 https://our.umbraco.com/Documentation/Fundamentals/Setup/Server-Setup/azure-web-apps

  • Fenil Desai 3 posts 73 karma points notactivated
    May 22, 2023 @ 15:51
    Fenil Desai
    0

    yes have already followed the same & added the required config values as well, but still getting the same error.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies