Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm modeling this ESRI tutorial for creating geoprocessing service with ArcServer 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 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?

Thank You

share|improve this question
    
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

2 Answers 2

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.

share|improve this answer
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
up vote 2 down vote accepted

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. Thanks to those who responded to my question.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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