English

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

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".

Cause

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