PROBLEM
When attempting to upload a shapefile, file geodatabase, scene layer package file, or CSV file, and publish them as hosted feature layers to the ArcGIS Enterprise portal, the file is uploaded and the following error message is returned in the ArcGIS Enterprise portal:
Error: ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. Invalid url: blocked host. Failed to execute (Publish Portal Service). Failed.
Additionally, the following error message is returned in the ArcGIS Server Manager logs:
Error: Error executing tool. Publish Portal Service Job ID: <Job ID> : ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. Invalid url: blocked host. Failed to execute (Publish Portal Service).
Internet Protocol Version 6 (TCP/IPv6) is disabled on the ArcGIS Server machine. Microsoft Windows links the internal server hostname to the Internet Protocol version 6 (IPv6) localhost address (::1) by default even though IPv6 is disabled.
To enable Internet Protocol Version 6 (TCP/IPv6) on the ArcGIS Server machine and for further information, refer to Microsoft: Change TCP/IP settings.
If enabling IPv6 is not a viable option, modify the registry key to configure the IPv6 functionality. Apply the steps below to set the IPv6 functionality to prefer IPv4 over IPv6.
Warning: Microsoft does not recommend disabling IPv6 or its components as some Windows components may not function.
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d <0x20> /f
Article ID: 000031951
Get help from ArcGIS experts
Download the Esri Support App