I have a mxd file that contains a few raster and feature layers that was published by ArcGIS Server as a map service. Meanwhile, a model was created to update the contents of the raster and feature layers in the mxd file. The intention is that all the users across my organisation will be able to see changes every time the model runs.
The problem that I have is the geoprocessing by the model failed due to the error that is the data "May be locked by another application." every time I ran it.
Could anyone please help with offering an idea how to get around this issue?
I also tried to use File Geodatabase to store the layers but ended up with the same error.