Appreciate your urgently support to solve this issue, I'm working with SQLCE I just migrated my website and It failed to boot after the installation process I'm hosting locally now but I'm planning to use TMD hosting, I've tried several solutions but It doesn't work, I'm not sure what causes this
{
"@t": "2022-02-23T08:56:16.0195316Z",
"@mt": "{FailMessage} ({Duration}ms) [Timing {TimingId}]",
"@l": "Error",
"@x": "Umbraco.Core.Exceptions.BootFailedException: Boot failed. ---> System.TimeoutException: Cannot acquire MainDom\r\n at Umbraco.Core.Runtime.MainDom.Acquire() in D:\a\1\s\src\Umbraco.Core\Runtime\MainDom.cs:line 172\r\n at System.Threading.LazyInitializer.EnsureInitializedCore[T](T& target, Boolean& initialized, Object& syncLock, Func`1 valueFactory)\r\n at Umbraco.Core.Runtime.MainDom.get_IsMainDom() in D:\a\1\s\src\Umbraco.Core\Runtime\MainDom.cs:line 211\r\n at Umbraco.Core.Runtime.CoreRuntime.AcquireMainDom(IMainDom mainDom) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 471\r\n at Umbraco.Core.Runtime.CoreRuntime.Boot(IRegister register, DisposableTimer timer) in D:\a\1\s\src\Umbraco.Core\Runtime\CoreRuntime.cs:line 183\r\n --- End of inner exception stack trace ---",
"FailMessage": "Boot failed.",
"Duration": 53319,
"TimingId": "5f5a93d",
"SourceContext": "Umbraco.Core.Runtime.CoreRuntime",
"ProcessId": 10540,
"ProcessName": "w3wp",
"ThreadId": 23,
"AppDomainId": 7,
"AppDomainAppId": "LMW3SVC4ROOT",
"MachineName": "IBRAHIMOGOD-5D-",
"Log4NetLevel": "ERROR",
"HttpRequestNumber": 1,
"HttpRequestId": "05a5a968-d1fa-4e94-80ef-5187372ff814"
}
Boot Failed
Umbraco failed to boot, if you are the owner of the website please see the log file for more details.
My solution in this instance was some custom indexers/searchers were trying to run prior to the index being built and were throwing an exception, this then stopped the boot process entirely.
I added the runtimelevel attribute and had the setup for the custom indexes run on 'run'. This solved the majority of boot issues.
Cannot acquire MainDom
Appreciate your urgently support to solve this issue, I'm working with SQLCE I just migrated my website and It failed to boot after the installation process I'm hosting locally now but I'm planning to use TMD hosting, I've tried several solutions but It doesn't work, I'm not sure what causes this
Boot Failed Umbraco failed to boot, if you are the owner of the website please see the log file for more details.
Do you have a load-balanced setup?
I am having this issue on public instances on an Azure load-balanced instance.
My solution in this instance was some custom indexers/searchers were trying to run prior to the index being built and were throwing an exception, this then stopped the boot process entirely.
I added the runtimelevel attribute and had the setup for the custom indexes run on 'run'. This solved the majority of boot issues.
Hi Damien,
can you share your code to help other users?
thank you
Adriano
Sorry I have moved jobs so do not have access to that specific code any more.
From memory it was a data annotation on the class when you tell it to add to the indexers. It was a while ago and wouldn't be used any more.
is working on a reply...