Blank error message for any analysis

271
6
11-24-2020 05:39 PM
Labels (1)
New Contributor II

Hi All,

Analysis via our 10.7.1 ArcGIS Enterprise portal has been a feature that I haven't exposed users to yet. When I went to use them recently I realised that any analysis fails with the below blank error message box. 

blankerror.jpg

So I tried restarting the publishing and publisingex services. I also used the browsers (Chrome) devtools to catch any errors when I stepped through the process. No issues there. I swear it worked when I first spun up the portal but I'm not sure how long its been broken. I haven't powered down and restarted the vm server itself yet which was my next move. Has anyone got any ideas? 

Cheers,
James

Reply
0 Kudos
6 Replies
Esri Contributor

Hello James,

 

Are you noticing any further errors in the Portal/Server logs? You could also check the service-level logs for the analysis service as well. I would recommend setting them both to verbose/debug and seeing if you can glean more information from the logs. 

Travis

Reply
0 Kudos
New Contributor II

Hi @Travis_Esri,

Apologies for the late reply. I did check the portal and server logs before and couldn't find anything. However thanks to your post I went looking in the Windows logs. I've found the problem. Arc threw a system level error. 

winlog.png

I've used an AD user as is recommended by ESRI to run all of the arcgis processes. It appears to be a rights issue. Specifically a "Local Activation permission". I think I may have fixed the issue using the instructions from https://appuals.com/how-to-fix-the-application-specific-permission-settings-do-not-grant-local-activ... but I don't think it will apply until I reboot the server. I'll be doing that shortly to see if hopefully the arcgis user has access to that COM module. 

Thanks for your help. 

Cheers,
James

Reply
0 Kudos
New Contributor II

Hmm. Restart hasn't helped. Problem still persists. 

Reply
0 Kudos
Esri Frequent Contributor

We don't use DCOM in the software, so that error can be ignored. Were you able to look at the JSON responses in the dev tools or Fiddler and see if there are any errors that aren't being handled well by the map viewer?

Reply
0 Kudos
New Contributor II

Hi @JonathanQuinn 

Thanks for your response. From devtools it seems there's no errors. I can make the warnings disappear if I want by fiddling with the devtools settings. All network resource responses come back green. 

devtools.jpg

When I look at the response for the job submitted to the GPServer I can see the error. 

{"jobId":"j83f11f0370504d62a2719ece324665c1","jobStatus":"esriJobFailed","messages":[{"type":"esriJobMessageTypeInformative","description":"Submitted."},{"type":"esriJobMessageTypeInformative","description":"Executing..."},{"type":"esriJobMessageTypeError","description":"Invalid value for parameter inputLayer - Details : Accessing URL https://maps.portofnewcastle.com.au/server/rest/services/Hosted/colabtest/FeatureServer/0 failed with error ERROR: code:403, Access to this resource is not allowed, Access to this resource is forbidden, regardless of authorization.. "},{"type":"esriJobMessageTypeError","description":"Failed."}]}

I can browse to that resource without logging into the rest server and there should be no restrictions. This little test layer is globally shared. Any ideas what went wrong?

Thanks again. 

James

Reply
0 Kudos
Esri Frequent Contributor

Hm, I'd double check the network traffic in the dev tools or Fiddler. There's likely a network requests that isn't coming back with the expected response and the map viewer is catching that, but isn't able to parse/return the error within the response.

Reply
0 Kudos