ERROR

The specified server directory location '<server directory>' is being used by another site

Last Published: August 2, 2023

Error Message

Attempts to change the server directory location of an ArcGIS Server site in ArcGIS Server Manager fail with the following error message returned:

Error:
The specified server directory location '<server directory>' is being used by another site

Cause

The server's configuration files and directories files are corrupted, preventing the server directories folder location from being changed.

Solution or Workaround

Warning:   
This workflow only applies if the arcgisjobs, arcgiscache, and arcgisoutput folders are affected. Do not use this workflow for the arcgissystems folder as there can only be one instance of this directory in the ArcGIS Server site.
Warning:   
Esri recommends creating backup files before deleting them to prevent data loss.
  1. On the machine, right-click the Windows taskbar, and select Task Manager to open Windows Task Manager.
  2. In the Task Manager window, click the Services tab.
  3. Right-click ArcGIS Server, and click Stop.
Stopping the ArcGIS Server service in Task Manager
  1. On the machine, in File Explorer, navigate to the following directory:
<ArcGIS Server installation drive>\arcgisserver\directories
  1. Rename the affected ArcGIS Server directory folder.
  2. In File Explorer, navigate to the following directory:
<ArcGIS Server installation drive>\config-store
  1. Rename the config-store folder to config-store_old.
  2. Right-click the Windows taskbar, and select Task Manager to open Windows Task Manager.
  3. In the Task Manager window, click the Services tab.
  4. Right-click ArcGIS Server, and click Start.
Starting the ArcGIS Server service in Task Manager
  1. In ArcGIS Server Manager, change the server directory location. Refer to ArcGIS Server: Edit a server directory in ArcGIS Server Manager for instructions.

Article ID:000030798

Software:
  • ArcGIS Server
  • ArcGIS Enterprise 10 9 x
  • ArcGIS Enterprise 11 0
  • ArcGIS Enterprise 11 1

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic