Error:  ERROR 001784: Unable to connect to the database used for scene caches (unauthorized)

相关信息
Article ID: 44757
Software:
ArcGIS for Server 10.3.1
ArcGIS Pro 1.1
Portal for ArcGIS 10.3.1
Platforms: N/A

错误信息
When attempting to publish a scene service from ArcGIS Pro, publishing may succeed while the scene cache status reports showing "Failed" or "Unknown".

The following error is returned in the ArcGIS Server logs:

"ERROR 001784: Unable to connect to the database used for scene caches (unauthorized)."

错误原因
If the error message exists in the ArcGIS Server logs, the issue is related to communication via cookies between the ArcGIS Data Store and ArcGIS Server. The ArcGIS Data Store uses cookies to authenticate communication; the cookie policy set on ArcGIS Server Windows machine may block this.



Initially, the scene caching tools use an internet URL to connect to the scene cache database. In this case, internet policies apply.

If the internet connection fails, the tools attempt to connect using an intranet URL, in which case intranet policies apply. To verify that the URLs used by the tools are correctly set up to access the scene cache database, confirm that the ArcGIS Data Store host names are correct, and update cookie policies on the ArcGIS for Server machines.
已邀请:

EsriSupport

赞同来自:

解决方案
Use the following procedure to solve this issue.
  1. Open a web browser and log in to the ArcGIS Server site's Administrator Directory. Log in using ArcGIS for Server administrator credentials.
  2. Navigate to: data > items > nosqlDatabases > /nosqlDatabases/AGSDataStore_nosqldb_ <database name> > REST
  3. Take note of the 'hostname' and 'unqHostname' properties. These are the fully qualified domain name and unqualified domain name of the scene cache database. These will be used later when updating cookie policies.
  4. Log in to each ArcGIS for Server machine using the ArcGIS for Server Account. This is the account created to run ArcGIS Server processes when ArcGIS Server is installed.
  5. Access the machine's Internet Options. This can be accessed through Internet Explorer or the Control Panel.
  6. Click the Security tab, select Trusted sites > Sites, and add the URL for the fully qualified host name of the scene cache database, for example: 'datastore.domain.com'. Additionally, add the URL of the unqualified host name as a trusted site, for example: 'datastore'.
  7. Click OK to apply the changes, and close Internet Options.
  8. Restart ArcGIS for Server.
  9. Repeat the steps for every ArcGIS for Server machine available onsite.


其它相关参考
  1. ArcGIS Pro: An overview of the Caching toolset
  2. ERROR 001785: Unable to connect to the database used for scene caches (Unidentified Error)


创建及修改时间
Created: 5/27/2015 Last Modified: 9/26/2015
原文链接
http://support.esri.com/en/kno ... 44757

要回复问题请先登录注册