English

Error: <layername> cannot be added. Scene service is missing root node

Error Message

Publishing a web scene to Portal for ArcGIS fails and returns the following error:

Error:
<layername> cannot be added. Scene service is missing root node

Cause

This issue occurs due to one of the following causes:

  • The security settings in Windows Server 2012 R2 prevent caching of the web scene. When ArcGIS Datastore is hosted in an environment that uses Windows Server 2012 R2 as the operating system, cookies are disabled by default.

    Additionally, configuring ArcGIS Datastore as the tile cache data store utilizes the CouchDB database on the back end. The database creates a node that powers the web scene and CouchDB uses cookies for authentication, so the scene cache is not created.

  • SSL 3.0 is disabled by default on Windows Server 2016. Publishing hosted scene layers requires SSL 3.0.

Solution or Workaround

Depending on the cause, use one of the following solutions:

For Windows Server 2012 R2

The steps below describe how to allow-list the domain to enable cookies.

  1. Click the Windows Start button and search for Internet Options.
  2. In the Internet Properties window, click the Security tab.
  3. Select Trusted Sites and click Sites.
  4. Add http://<domain_name>.com and https://<domain_name>.com, and uncheck the Require server verification (https) for all sites in this zone check box.
Image of the Internet Options window.

Enable SSL 3.0

To enable SSL 3.0 on Windows Server 2016, refer to Problem: When publishing hosted scene layers from ArcGIS Pro, the Jobs Status tab shows that caching has failed without any error message.

Alternatively, if enabling SSL 3.0 is not an option, run the 'changedbproperties' command with the 'enablessl' parameter set to 'none'.

  1. Run Windows Command Prompt.
  2. Change the directory to 'C:\Program Files\ArcGIS\DataStore\tools' using the following command:
cd C:\Program Files\ArcGIS\DataStore\tools
  1. Run the changedbproperties command.
changedbproperties --store tileCache --enablessl none
Image of the Windows Command Prompt with the commands.

Related Information

Last Published: 10/15/2020

Article ID: 000020917

Software: ArcMap 10.8.1, 10.8, 10.7.1, 10.7 Portal for ArcGIS 10.8.1, 10.8, 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5