Hi all, in one of our enterprise customer we are receiving a very strange error. While doing all type of operations (even retrieving data ), sometimes we receive the error below:
Do you have any idea about this error ? We could find what is being tried to locked and why it fails.
Best regards.
Error: Could not acquire Write lock.
Error Number: 0x80040216
Error Message: Could not acquire Write lock.
Error Details: Could not acquire Write lock.
Source File: Not available
Line Number: Not available
Request URL: xxxxxxxxxx/.../WebResource.ashx
Stack Trace Info: [CrmException: Could not acquire Write lock.]
at Microsoft.Crm.CrmLockSlim..ctor(ReaderWriterLockSlim readWriteLock, LockMode lockMode, Int32 timeoutInMilliseconds, Boolean allowRecursion)
at Microsoft.Crm.Metadata.MetadataCache.GetInstance(IOrganizationContext context)
at Microsoft.Crm.Application.Controls.AppHeader..ctor()
at Microsoft.Crm.MainApplication.Application_OnPreRequestHandlerExecute(Object sender, EventArgs eventArguments)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
*This post is locked for comments