while deploying Umbraco version 13.1.1 with SQL Server throws this error. I have also tried to implement this with sqlite db still the error was same. TimeoutException: Cannot acquire MainDom
Umbraco.Cms.Core.Runtime.MainDom.Acquire()
Umbraco.Cms.Core.Runtime.MainDom+<>c__DisplayClass12_0.<Acquire>b__0()
System.Threading.LazyInitializer.EnsureInitializedCore<T>(ref T target, ref bool initialized, ref object syncLock, Func<T> valueFactory)
System.Threading.LazyInitializer.EnsureInitialized<T>(ref T target, ref bool initialized, ref object syncLock, Func<T> valueFactory)
Umbraco.Cms.Core.Runtime.MainDom.Acquire(IApplicationShutdownRegistry hostingEnvironment)
Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.AcquireMainDom()
Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken, bool isRestarting)
Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken)
Umbraco.Extensions.WebApplicationExtensions.BootUmbracoAsync(WebApplication app)
Program.<Main>$(string[] args) in Program.cs
+ await app.BootUmbracoAsync();
Program.<Main>(string[] args)
my web.config looks as belows.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\sqlDemo.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" >
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</location>
</configuration>
Help me solve this error… Thank you in advance
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/113841-timeoutexception-cannot-acquire-maindom-throws-error-in-umbraco-13-sql-db-while-deploying-to-iis-server