[ERR0526] HRESULT description: Unable to open the access token of the current thread

Last Published: April 25, 2020

Error Message

ArcIMS ArcMap service creation on Solaris fails with the following error logged to the ArcMap server log:

"[ERR0526] HRESULT description: Unable to open the access token of the current thread".


If the map document used in service creation contains a large number of file-based data, such as hundreds of TIFF imagery, then the most likely cause of this failure is due to the ArcMap server process exceeding the file descriptor limitation set in that system. This is a known limitation.

Solution or Workaround

The following are possible workarounds:

  1. Substitute file-based layers with equivalent data from ArcSDE.
  2. Reduce the number of file-based layers in the map document.
  3. Check the file descriptor limit that is set for the system, using the following commands. Verify with the System Administrator, if this limit can be increased for the system where ArcMap server is installed:

    Hard limit
    > ulimit –Hn

    Soft limit
    > ulimit –Sn

Article ID:000009662

  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options