Copied to clipboard

Flag this post as spam?

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


  • Jon 92 posts 166 karma points
    Sep 10, 2020 @ 11:46
    Jon
    0

    Cannot connect to DB

    We get the following error - the sql connection string is correct:

    Boot failed: Umbraco cannot run. See Umbraco's log file for more details.

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

    -> System.Exception: Cannot connect to the database. at Umbraco.Core.Persistence.UmbracoDatabaseFactory.Initialize() in D:\a\1\s\src\Umbraco.Core\Persistence\UmbracoDatabaseFactory.cs:line 224 at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func1 valueFactory) at Umbraco.Core.Persistence.UmbracoDatabaseFactory.EnsureInitialized() in D:\a\1\s\src\Umbraco.Core\Persistence\UmbracoDatabaseFactory.cs:line 206 at Umbraco.Core.Runtime.SqlMainDomLock.<AcquireLockAsync>d__11.MoveNext() in D:\a\1\s\src\Umbraco.Core\Runtime\SqlMainDomLock.cs:line 50 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Umbraco.Core.Runtime.MainDom.Acquire() in D:\a\1\s\src\Umbraco.Core\Runtime\MainDom.cs:line 148 at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func1 valueFactory) at Umbraco.Core.Runtime.MainDom.get_IsMainDom() in D:\a\1\s\src\Umbraco.Core\Runtime\MainDom.cs:line 186 at Umbraco.Core.Runtime.CoreRuntime.AcquireMainDom(IMainDom mainDom) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 263 at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 169

Please Sign in or register to post replies

Write your reply to:

Draft