In the past week, I managed to set up ArcGIS Server on the server but subsequently encountered errors when publishing a web map in ArcMap.

I have set up the ArcGISSOC and ArcGISSOM accounts and given rights to the specific folders. However I encountered the following problems that I have attached screen shots and highlighted in RED.

The error reads,

"The SOC account cannot resolve the path to the data, or the SOC account has not been granted read permission to the data. In the case of ARCSDE, direct connect may not be configured properly or the SOC account may not have permission to access the database."

I also noticed under the (ArcGISSOM Inheritance) screen shot, under the inherited from tab, the status reads as <not inherited>, what could be the cause of this because from my understanding, the webmapping folder should have rights from the server drive. I also tried publishing from the ArcGIS server manager but it was unsuccessful.

Could you kindly assist in solving the problems that I am encountering so that I can effectively do the web mapping.

  • If possible, try logging into the SOC machine with the SOC account and then opening the map document used for the service. If you cannot open the map document, then instead document the exact paths used in the map document and try to access each path from the SOC machine while logged in as the SOC account. – blord-castillo Aug 8 '12 at 14:50
  • How is your MXD referencing the server's directory where the data store sits? Is it by a mapped drive like z:\data\..., or a UNC path like \\servername\share\data\...? If it's a UNC path everything should be OK. Anything else and ArcMap and ArcGIS Server will not both be looking in the same location. – tomfumb Nov 7 '12 at 21:33

Your ArcGISSOC account needs to have read and write permissions within your SDE database. I'm not sure what your database server is, but for MS SQL Server 08 R2 you can add the login account using MS SQL Server Management Studio.

Another thing to test is if you can create a map service from non SDE data (e.g. shapefile or geodatabase)?

  • Hi Artwork21?thanks for the response. I have not yet installed the sql server express database to store the data in the SDE. I was trying to pulbish the maps from a DATA folder within the server hard disk and it has write and read permission for SOC account. I have the screen shot capture but they failed to upload on this site. I can however send them to you on email and have a look at them and advice on what to do. Kindly give me your email and I will forward the snapshots. – Simon Aug 8 '12 at 12:02
  • @Simon, Is your data located on the GIS server or on a seperate data server? If on data server you need to install the SOC account on that server, and make sure your data is sourced by UNC path both in the mxd and when creating the map service. – artwork21 Aug 8 '12 at 13:08
  • My data is located in a folder on the server's hard disk and the map document is referenced to this folder.The folder is shared and has SOC and SOM rights. I am now wondering must the data be stored in an sql database like SQL express and have the SDE on it or how can I resolve the problem? – Simon Aug 9 '12 at 6:33
  • @Simon, Is your ArcGIS Desktop and ArcGIS Server versions the same? – artwork21 Aug 9 '12 at 12:03
  • Yes they are the same version.I am using version 10. – Simon Aug 9 '12 at 13:11

If your data is file-based (shapefile, or file geodatabase), you should configure your map document to use relative paths to the data.

Then, when you load your map document and data onto the server, preserve the same folder structure. So, if your geodata is in a "data" subfolder, ArcGIS Server will be able to find it - otherwise it will look in "C:\originalpath\data" or wherever you saved it on your system.

This blog post on the Michigan Tech University has some good insight about absolute and relative paths in ArcMap.

  • Hi Mwalker,I have the data stored in shapefiles in a data folder on the server. The map document is referenced to the path of the shapefiles in the server but I still do get the same error. I am now wondering should the data be stored on SDE with an sql database and referenced from there? – Simon Aug 9 '12 at 6:21
  • SDE may resolve your specific issue, but it should never be necessary to host your data (unless you are trying to enable FeatureServer and editing, but that's another matter). – mwalker Aug 9 '12 at 15:39
  • I just want to display the data no editing is required at this stage. – Simon Aug 10 '12 at 11:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.