I have installed a Portal for Arcgis with web adaptor and ArcGIS Server Enterprise with web adaptor enabled and a Relational Data Store. The ArcGIS Server is federated with my Portal and configured as hosting server. Both on a single machine and are the same version 10.5.
I verified that the SpatialAnalysisTools GP is started as a Service inside de System folder.
However, after all the settings, even log in the Portal as an administrator, it is not possible to perform analyses.
When I enter a map, click on Analysis and try to perform any spatial analysis function, it returns an error message:
"Unable to access the analysis service"
You'll need to inspect the network traffic using the developer tools within your browser or Fiddler. For example, using the Chrome developer tools, you'll be able to see a request for the Spatial Analysis Tools GP service:
The response should give you the JSON of the service:
If that request fails, the error you see will be returned.
Thanks Jonathan!
When I federated ArcGIS Server I input the Services URL: https://localhost/server/rest/services
However, the correct thing was to put the path only to the server. Services URL: https://localhost/server
I removed the server configuration as Hosting Server and unfederate it.
After this, I federate and configured it as Hosting Server and now is possible to perform analyses.
With the same user and with the same layer, now I can perform the spatial analysis operation to Create Buffers.
However, when I try to run Analyze Patterns -> Interpolate Points it gives an error.
I used the same suggested procedure to try to find the new error and could not find it.
The portal user belongs to the admin group, I already tested it with another one that belongs to the publisher group and gave the same error.
I Verified the ArcGIS Server logs (https://localhost:6443/arcgis/manager/log.html) but not found the cause of the problem.
After that, I modified the SpatialAnalystTools service to display information. When accessing the Job by its ID:
https://localhost:6443/arcgis/rest/services/System/SpatialAnalysisTools/GPServer/InterpolatePoints/j...
Returned the following messages
Job Details: j372c22f1edc24bb5a01eb7bcd921181c (InterpolatePoints)
Job ID: j372c22f1edc24bb5a01eb7bcd921181c
Job Status: esriJobFailed
Job Messages:
I submitted another specific license question and another employee already answered me:
https://community.esri.com/thread/196221-what-license-is-required-to-perform-spatial-analyses-by-int...
Thank you very much for your attention.