Cannot connect to this server (error: 999999)

Discussion created by cadrin on Mar 27, 2014
Hello folks,

I had this error a few times with my ArcGIS 10.1.1 and now I'm getting again this error on my ArcGIS 10.2.1

In ArcCatalog, I'm trying to publish a Definition File. The publication is starting well, I can see the bytes are transfering, but sometimes, for no apparent reason, the process crash and I receive this error:
ERROR 999999: Error executing function. Cannot connect to this server. Failed to execute (UploadServeDefinition).

My ArcGIS Server 10.2.1 is on a RHEL machine and I'm always connected and working on this. So it's impossible that the connection was lost between my computer and my RHEL server.

I can publish / overwrite 20 service in a row, then, BAM, I can't publish anymore. I need to wait a few minutes/hours before I can republish again.

It appear that this problem happen more when it's a service with raster images in it (MrSID or JP2000).

How could I solve this?