2

I'm modeling this ESRI tutorial for creating geoprocessing service with ArcGIS Server and I'm getting this error when trying to publish the service:

Service was published but cannot be started due to: Server object instance creation failed on all SOC machines. Server Object instance creation failed on machine MyServer. Cannot load tool: BufferAndClip: Geoprocessing service initialization failed.

I'm using ArcGIS Desktop 10 against ArcGIS Server 9.3. My mxd that has the model in it has been saved out as version 9.3. Also my geodatabase is a 9.3 version. The model works fine within the mxd. The mxd and geodatabases and lyr files are located all in the same folder on the server (e.g. \\MyServer\ArcGIS Resources\Test\Test.mxd).

I have published map services before to this server with no issues, why I'm I getting this error?

  • It sounds like the workspace/environment for your desktop is operating correctly. perhaps you haven't defined that for the server? help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… – Brad Nesom Oct 26 '11 at 20:44
  • @Brad Nesom, I set the geo scratch workspace to a separate geodatabase that is located in the same folder as everything else. I also tried to clear out the current workspace path (defined in the tutorial link), but every time I re-open the dialog it is pointing to my C drive. How do I keep the current workspace clear for the geoprocessing env? I bet this is my issue. – artwork21 Oct 26 '11 at 22:55
  • 2
    @BradNesom, ESRI said my error is because I'm trying to create a geoprocessing service using ArcGIS 10 against ArcGIS Server 9.3. ArcObjects and the scripting language behind the geoprocessing tools has changed too much. I need to upgrade the Server to 10. – artwork21 Oct 27 '11 at 21:18
  • wish I had thought of that for more than a millisecond. – Brad Nesom Oct 27 '11 at 21:20
4

Server object instance creation failed on all SOC machines is triggered when the SOC account does not have access to the resources that your trying to publish.

Try right clicking ArcCatalog and running it as the SOC account. Can you browse to \MyServer\ArcGIS Resources\Test\ and able to see the MXD, layers and toolbox?

Everything used in the model needs to be accessible to the SOC.

See preparing resources for publishing for more details on how to setup the relevant permissions.

  • 1
    ESRI said my error is because I'm trying to create a geoprocessing service using ArcGIS 10 against ArcGIS Server 9.3. ArcObjects and the scripting language behind the geoprocessing tools has changed too much. I need to upgrade the Server to 10. – artwork21 Oct 27 '11 at 21:19
  • ahhh... Maybe put that summary into a new answer and mark your own answer as the Answer. – Simon Oct 28 '11 at 4:54
2

Esri said my error is because I'm trying to create a geoprocessing service using ArcGIS 10 against ArcGIS Server 9.3.

ArcObjects and the scripting language behind the geoprocessing tools have changed too much.

I need to upgrade the Server to 10.

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.