An application using the Java Connector returns the following or similar error when attempting to dynamically add an SDEWORKSPACE with an encrypted password.
Underlying input stream returned zero bytes
File "null" not found
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.
Get help from ArcGIS experts
Download the Esri Support App