Client tried to access password protected page without proper authorization (status code 401) Unable to publish Sceneservice workaround

Source: Internet
Author: User

Not long ago, a customer reflects the original deployment of the Webgis system suddenly does not work properly, the specific configuration is as follows:

Portal for ArcGIS 10.5

ArcGIS Server 10.5

Web Adpator 10.5

Data Store 10.5

The symptom is that the hosted feature service can be published normally, but the three-dimensional service Sceneservice publishing is unsuccessful. View the logs for ArcGIS server with the following error message:

Client tried to acces password protected page without proper authorization (status code 401) This error is actually the bottom of ArcGIS server arcobj For the pre-defined error message messagesupport_e_unauthorizedin the ECT class library, you can refer to the following links:

Https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#messageSupportError.htm

Preliminary judgment this error may be datastore Unable to authenticate the login problem, but through the server's Rest Management page to verify the Datastore, found that the status is normal.

The rest URL path that the server uses to verify datastore is similar to the following:

https://www.seanpc.com/ags/admin/data/items/nosqlDatabases/AGSDataStore_nosqldb_tcs_m3p2m8vg/machines/ LUWLESRIPC. Mshome.net/validate

The returned results are similar to the following:

Again, the problem may be related to the operating system's file system permissions, asked the customer, the original customer before the system problem did a reset ArcGIS Server run account password operation. The customer is the account password reset operation directly through the Windows Admin page.

The permissions for the ArcGIS Server installation directory and the system data directory are reset.

After resetting, restart ArcGIS Server and publish the three-dimensional service Sceneservice again, the system is back to normal. If you need to reset your password if you know the password of your original account, you must reset your password via Windows Control Panel account management. If the account password reset operation is done via the Windows Admin page, the relevant ArcGIS server file directory account permissions need to be reset. Because according to Microsoft's saying:

If An administrator resets your password, you might lose access to some of your files.

Client tried to access password protected page without proper authorization (status code 401) Unable to publish Sceneservice workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.