I encountered this error when trying to publish a map service to an ArcGIS Server 10.1 (installed on linux). enter image description here

--------------------------- Service Publishing Result --------------------------- Packaging succeeded, but publishing failed.

ERROR 001359: Failed to connect to the server.

Please consult the GP Results Window for enhanced error description


Other info: The geodatabase is registered with the server. And it did work in the past. We use a PostgreSQL gdb server.

  • Is there any more information in the Results window in ArcMap? Apr 12, 2013 at 18:42
  • In Results , the message is the same "Failed to connect to the server'
    – Ligia
    Apr 15, 2013 at 6:31
  • OK. Do you have PublishingTools service running (under System folder in the Server connection)? I am not an expert on Linux, but could any security settings change their thus empeding ArcGIS connect to the Server? I am also interested to see what happens if you stage an .sd file (with the option to embed data), and then use ArcGIS Server Manager web application to publish .sd file as a service. Would it work? Apr 15, 2013 at 6:40

3 Answers 3


apparently in our case it was an IP problem. we changed the IP of our gis server a couple of days ago. and the gdb didn't recognized the new ip, so changed back to the old IP.


This just happened to me out of the blue and I checked a few things including those listed above. Nothing helped. Turns out it was failing because I had Characters on the layer names that it didn't like for example '+', '<' but commas work fine.


So navigate to your server manager > services > Site root > publishing tools > edit service security > check (public,Available to everyone) > save.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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