Select to view content in your preferred language

Configure Routing Services, Portal 11.2

244
1
02-25-2025 04:26 AM
JohnDeLucio1
Emerging Contributor

Hello, I have configured a Feature Dataset that contains a network dataset. The network functions normally in pro and processes find best route successfully. I added the Feature Dataset along with the network dataset and associated data to my enterprise geodatabase and tested the find best route and it works great. I am trying to configure portal (11.2) to use this network dataset so that I can create a solve widget to use in experience builder but when trying to configure I keep getting this error and I can not find any documentation on it anywhere -

 "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "AttributeError: DescribeData: Method workspaceFactoryProgID does not exist\n"
    },
    {
      "type": "esriJobMessageTypeError",
      "code": 30206,
      "description": "A geoprocessing error occurred during tool execution.",
      "parameters": {
        
      }
    },
    {
      "type": "esriJobMessageTypeError",
      "code": 0,
      "description": "",
      "parameters": {
        
      }
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "Error details.",
      "parameters": {
        
      }
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "Traceback (most recent call last):\n"
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "  File \"D:\\Program Files\\ArcGIS\\Server\\framework\\runtime\\ArcGIS\\Resources\\ArcToolBox\\Services\\routingservices\\prs_gptool.py\", line 440, in execute\n    self.prs_tool.execute()\n"
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "  File \"D:\\Program Files\\ArcGIS\\Server\\framework\\runtime\\ArcGIS\\Resources\\ArcToolBox\\Services\\routingservices\\prs.py\", line 1925, in execute\n    self._validate_nd()\n"
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "  File \"D:\\Program Files\\ArcGIS\\Server\\framework\\runtime\\ArcGIS\\Resources\\ArcToolBox\\Services\\routingservices\\prs.py\", line 462, in _validate_nd\n    raise arcpy.ExecuteError from None\n"
    },
    {
      "type": "esriJobMessageTypeInformative",
      "code": 0,
      "description": "arcgisscripting.ExecuteError\n"
    }

 Does anyone have any idea on this error or can point me in the direction to get it solved?

Thanks in advance to anyone that can help. 

0 Kudos
1 Reply
ArchitSrivastava
Frequent Contributor

Hello @JohnDeLucio1,

It seems that the "Network Analysis" service is not able to find some files within the "ArcToolbox" which allows ArcGIS Server to execute these tools.

However, prior to getting into the details of logs and workflows on the application side, can you confirm the following:

Hope it helps!

0 Kudos