dyn365-ce-vsts-tasks icon indicating copy to clipboard operation
dyn365-ce-vsts-tasks copied to clipboard

Could not acquire Write lock in time 180000 milliseconds.

Open keepereg opened this issue 9 months ago • 0 comments

Hi all, we are getting the following error when trying to publish customizations:

Starting: MSCRMPublishCustomizations

Task : Publish Customizations Description : Publishes all customizations in a given PowerApps/CDS/Dynamics 365 environment Version : 12.0.2 Author : Wael Hamze Help : This task uses PublishAllXrmRequest

Script Path: C:\ADOBuildAgents\johntfsbd13-c_work_tool\MSCRMBuildTools\12.0.108\xRMCIFramework\9.0.0 Publishing Customizations ##[error]Could not acquire Write lock in time 180000 milliseconds. Lock mode: Write. Lock name: OverrideLabelDictionaryCache.TryLookupEntry Finishing: MSCRMPublishCustomizations

This has been working for ~3 years and only recently started failing intermittently. We opened a ticket with Microsoft, but they have said that it is an issue with the task, not devops and have basically said we're on our own. Any thoughts/suggestions appreciated.

Thanks

keepereg avatar May 22 '24 13:05 keepereg