Is This Content Helpful?
We're glad to know this article was helpful.
Calling the SeConnection.getLayers() method or creating a new SeLayer object using one of the SeLayer class constructors returns the following error:
"Network I/O Error".
This is a known issue with the 8.1.2, 8.2, and 8.3 versions of the ArcSDE Java API. The error occurs because of the inability of the Java API to parse projection strings containing parameters defined with two or more words. For example, consider a layer with the projection parameter unit defined in two words as 'Decimal Degrees'. A "Network I/O Error" occurs when reading this layer using either the SeConnection.getLayers() method or one of the SeLayer constructors. The error does not happen if the projection parameter is defined in one word: 'Decimal_Degrees'.
Install the ArcSDE Java API v9.0.
This problem can also be resolved by replacing the blank spaces in the projection parameters with underscores.