shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.getStackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand() at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) at System.Web.HttpRuntime.AppDomainShutdownTimerCallback(Object state) at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers() at System.Threading.TimerQueue.AppDomainTimerCallback() 2016-06-21 08:16:51,692 [P34084/D11/T6] INFO umbraco.content - Save Xml to file... 2016-06-21 08:16:51,817 [P34084/D11/T13] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:16:51,958 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Hash determined (took 7ms) 2016-06-21 08:17:26,411 [P34084/D11/T34] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:26,568 [P34084/D11/T52] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:17:58,584 [P34084/D11/T54] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:58,662 [P34084/D11/T44] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:21,991 [P34084/D14/T1] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at Umbraco.Core.MainDom.Acquire() at Umbraco.Core.ApplicationContext.Init() at Umbraco.Core.ApplicationContext..ctor(DatabaseContext dbContext, ServiceContext serviceContext, CacheHelper cache, ProfilingLogger logger) at Umbraco.Core.CoreBootManager.CreateApplicationContext(DatabaseContext dbContext, ServiceContext serviceContext) at Umbraco.Core.CoreBootManager.Initialize() at Umbraco.Web.WebBootManager.Initialize() at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) at Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) 2016-06-21 08:18:32,022 [P34084/D11/T72] INFO umbraco.content - Save Xml to file... 2016-06-21 08:18:32,100 [P34084/D11/T37] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:43,210 [P34084/D15/T78] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Hash determined (took 5ms) 2016-06-21 08:19:02,054 [P34084/D14/T72] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: InitializationError
Good Morning! I just tested a solution that worked for me! The important thing is after you stop at the site, make sure the IIS pool has been completely terminated.
failed to enter the lock within timeout
Anyone still having this issue? I am running v7.4.1 and I am still getting this error approximately every 30mins on a live site.
Follwing actions has been taken to resolve this:
I am running out of ideas now, considering that I am running v7.4.1 that this issue may have been fixed.
Any help/suggestion will be much appreciated.
_shutDownMessage=Initialization Error HostingEnvironment initiated shutdown HostingEnvironment caused shutdown
shutDownStack= at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.getStackTrace() at System.Web.Hosting.HostingEnvironment.InitiateShutdownInternal() at System.Web.Hosting.HostingEnvironment.InitiateShutdownWithoutDemand() at System.Web.HttpRuntime.ShutdownAppDomain(String stackTrace) at System.Web.HttpRuntime.AppDomainShutdownTimerCallback(Object state) at System.Threading.TimerQueueTimer.CallCallbackInContext(Object state) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.TimerQueueTimer.CallCallback() at System.Threading.TimerQueueTimer.Fire() at System.Threading.TimerQueue.FireNextTimers() at System.Threading.TimerQueue.AppDomainTimerCallback() 2016-06-21 08:16:51,692 [P34084/D11/T6] INFO umbraco.content - Save Xml to file... 2016-06-21 08:16:51,817 [P34084/D11/T13] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:16:51,942 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:16:51,958 [P34084/D14/T1] INFO Umbraco.Core.PluginManager - Hash determined (took 7ms) 2016-06-21 08:17:26,411 [P34084/D11/T34] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:26,568 [P34084/D11/T52] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:17:58,584 [P34084/D11/T54] INFO umbraco.content - Save Xml to file... 2016-06-21 08:17:58,662 [P34084/D11/T44] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:21,991 [P34084/D14/T1] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred System.TimeoutException: Failed to enter the lock within timeout. at Umbraco.Core.AsyncLock.Lock(Int32 millisecondsTimeout) at Umbraco.Core.MainDom.Acquire() at Umbraco.Core.ApplicationContext.Init() at Umbraco.Core.ApplicationContext..ctor(DatabaseContext dbContext, ServiceContext serviceContext, CacheHelper cache, ProfilingLogger logger) at Umbraco.Core.CoreBootManager.CreateApplicationContext(DatabaseContext dbContext, ServiceContext serviceContext) at Umbraco.Core.CoreBootManager.Initialize() at Umbraco.Web.WebBootManager.Initialize() at Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) at Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) 2016-06-21 08:18:32,022 [P34084/D11/T72] INFO umbraco.content - Save Xml to file... 2016-06-21 08:18:32,100 [P34084/D11/T37] INFO umbraco.content - Saved Xml to file. 2016-06-21 08:18:43,210 [P34084/D15/T78] INFO Umbraco.Core.CoreBootManager - Umbraco 7.4.1 application starting on APSEP8277 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Determining hash of code files on disk 2016-06-21 08:18:43,226 [P34084/D15/T78] INFO Umbraco.Core.PluginManager - Hash determined (took 5ms) 2016-06-21 08:19:02,054 [P34084/D14/T72] INFO Umbraco.Core.UmbracoApplicationBase - Application shutdown. Details: InitializationError
I have the same problem! Did you have any success? My Umbraco version is 7.5.6
Good Morning! I just tested a solution that worked for me! The important thing is after you stop at the site, make sure the IIS pool has been completely terminated.
Follow the link: https://our.umbraco.org/forum/using-umbraco-and-getting-started/79356-failed-to-enter-the-lock-within-timeout-getting-this-error-sometimes-after-upgrading-umbraco-version-743#comment-265256
is working on a reply...