OR when you are facing with the following exception:
[LockRecursionException: A read lock may not be acquired with the write lock held in this mode.] | |
System.Threading.ReaderWriterLockSlim.TryEnterReadLockCore(TimeoutTracker timeout) +1347 | |
System.Threading.ReaderWriterLockSlim.TryEnterReadLock(TimeoutTracker timeout) +44 | |
Sitecore.DependencyInjection.ServiceLocator.get_ServiceProvider() +176 | |
Sitecore.Configuration.<>c.<.cctor>b__360_0() +9 | |
System.Lazy`1.CreateValue() +734 | |
System.Lazy`1.LazyInitValue() +189 | |
Sitecore.Configuration.Settings.GetSetting(String name) +48 |