BUG

Java Connector: Cannot use an encrypted password with a dynamically generated SDEWORKSPACE

Last Published: April 25, 2020

Description

An application using the Java Connector returns the following or similar error when attempting to dynamically add an SDEWORKSPACE with an encrypted password.

Code:
Underlying input stream returned zero bytes
File "null" not found
null

Cause

The encrypted attribute is not added to the SDEWORKSPACE tag in the GET_IMAGE request sent to ArcIMS. As a result of the default value for the encrypted attribute ("false"), the password is not decrypted, and ArcSDE server authentication fails.

Workaround

The only Java Connector supported workaround is to use basic, unencrypted password when creating a new SDEWORKSPACE.

    Article ID:000008021

    Software:
    • Legacy Products

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic