Azure: Web Job Deployment Error “The local data store is currently in use by another operation”

Recently, we had written a batch job to connect to D365 and do some operation on a schedule. While deploying the batch job from Visual Studio as a web job we got the below error:

“The local data store is currently in use by another operation. Please wait and then try your operation again. If this error persists, restart the application.”

aa

To fix this error, we stopped the App Service in Azure portal temporarily where we were trying to deploy the code as  web job.

bb

After stopping the app service in Azure portal and clicking OK on error pop up in Visual Studio, the deployment started automatically and got deployed successfully.

cc

After deployment we started the app service again in the Azure portal.

Hope it helps !!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.