<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>FW: Help:  SDE error. SE_layer_get_info(): Layer not found. (-20) </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>
<BR>

<P><FONT SIZE=2>Dear folks,<BR>
<BR>
I am using the MapServer 4.10.1, the data source is from ArcSDE 9.1 for Oracle.<BR>
<BR>
My settings is like below:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'GDT.SDE_BAY_ZIPI'<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GROUP 'GDT.SDE_BAY_ZIPI'<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONNECTIONTYPE sde<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #CONNECTION 'SunServer,5151,sde,ps,ps'<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONNECTION &quot;SunServer,port:5151,sde,ps,ps&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA &quot;GDT.SDE_BAY_ZIPI, SHAPE&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #DATA &quot;GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT&quot;<BR>
<BR>
Now I get message like below:<BR>
<BR>
msDrawMap(): Image handling error. Failed to draw layer named 'GDT.SDE_BAY_ZIPI'.<BR>
msSDELayerOpen(): SDE error. SE_layer_get_info(): . (1)<BR>
msSDEGetLayerInfo(): SDE error. SE_layer_get_info(): Layer not found. (-20)<BR>
CGI Request 1 on process 5032 msDrawMap(): Layer 0 (GDT.SDE_BAY_ZIP), 0.020s<BR>
<BR>
<BR>
Another interesting thing is that I can not specify &quot;SDE.DEFAULT&quot;.<BR>
if I use setting like below.<BR>
DATA &quot;GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT&quot;<BR>
<BR>
<BR>
<BR>
When I am using<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DATA &quot;GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT&quot;<BR>
<BR>
I got the following error.<BR>
<BR>
msDrawMap(): Image handling error. Failed to draw layer named&nbsp;&nbsp; 'GDT.SDE_BAY_ZIPI'.<BR>
msSDELayerOpen(): SDE error. SE_version_get_info(): Version not found. (-126)<BR>
CGI Request 1 on process 4676 msDrawMap(): Layer 0 (GDT.SDE_BAY_ZIP), 0.010s<BR>
<BR>
<BR>
The data connection looks correct. I am able to view the same data through ArcCatalog.&nbsp;&nbsp; Any hint to help me continue my work?&nbsp;<BR>
<BR>
<BR>
Thanks a lot.<BR>
<BR>
Have a great weekend.<BR>
<BR>
Sun<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>