Select to view content in your preferred language

Error publishing ModelBuilder GP Service to ArcGISServer from ArcGIS Pro

195
2
09-04-2024 12:01 PM
SanchezNuñez
Frequent Contributor

Good afternoon,

I am getting the error message below when I try to publish a Model Builder  geoprocessing service with ArcGIS Pro.

How do I check if the " Jobs directory in service definition"  is set up?

 

2024-09-04 14:42:03 Status: InProgress StatusMessage: Validating service definition.
2024-09-04 14:42:03 Status: InProgress StatusMessage: WARNING 086223: Jobs directory in service definition is not set or is invalid. Using default jobs directory.
2024-09-04 14:42:05 Status: InProgress StatusMessage: ERROR 001972: Unable to create service: ERROR: code:403, Publishing of Geoprocessing services is restricted to administrators only., Access to this resource is forbidden, regardless of authorization.
2024-09-04 14:42:07 Status: InProgress StatusMessage: ERROR 001369: Failed to create the service.
2024-09-04 14:42:09 Status: InProgress StatusMessage: Failed to execute (Publish Service Definition).
2024-09-04 14:42:15 Status: InProgress StatusMessage: Publishing tool execution failed
2024-09-04 14:42:17 Status: Failed ErrorMessage: Failed to publish web layer

 

 

0 Kudos
2 Replies
Marshal
Frequent Contributor

Only administrators can publish geoprocessing services by default.  Allowing publisher users to do so is supported, but requires some configuration.

https://enterprise.arcgis.com/en/server/latest/administer/windows/change-geoprocessing-service-and-s...

 

0 Kudos
SanchezNuñez
Frequent Contributor

Hi @ttmarsh 

I am an administrator and I can publish Geoprocessing Services in the server.

I also changed the prefix to  %scratchGDB" and  changed environment variables to write in c:\arcgisserver\directories\arcgisoutput\

It looks like something is still missing in the jobs directory because it does not see it.

 

Thanks

0 Kudos