Error: [ERR0526] HRESULT description: Unable to open the access token of the current thread
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:
- Substitute file-based layers with equivalent data from ArcSDE.
- Reduce the number of file-based layers in the map document.
- 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:
> ulimit –Hn
> ulimit –Sn