I Solved this problem by myself. Rewrite the connection string, full computer name and no space between. Now it solved the problem.
Thanks and Regards, Sun -----Original Message----- From: Sun, Xijiang [mailto:[EMAIL PROTECTED] Sent: Fri 3/30/2007 3:57 PM To: [email protected] Subject: FW: Help: SDE error. SE_layer_get_info(): Layer not found. (-20) Dear folks, I am using the MapServer 4.10.1, the data source is from ArcSDE 9.1 for Oracle. My settings is like below: NAME 'GDT.SDE_BAY_ZIPI' GROUP 'GDT.SDE_BAY_ZIPI' CONNECTIONTYPE sde #CONNECTION 'SunServer,5151,sde,ps,ps' CONNECTION "SunServer,port:5151,sde,ps,ps" DATA "GDT.SDE_BAY_ZIPI, SHAPE" #DATA "GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT" Now I get message like below: msDrawMap(): Image handling error. Failed to draw layer named 'GDT.SDE_BAY_ZIPI'. msSDELayerOpen(): SDE error. SE_layer_get_info(): . (1) msSDEGetLayerInfo(): SDE error. SE_layer_get_info(): Layer not found. (-20) CGI Request 1 on process 5032 msDrawMap(): Layer 0 (GDT.SDE_BAY_ZIP), 0.020s Another interesting thing is that I can not specify "SDE.DEFAULT". if I use setting like below. DATA "GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT" When I am using DATA "GDT.SDE_BAY_ZIPI, SHAPE, SDE.DEFAULT" I got the following error. msDrawMap(): Image handling error. Failed to draw layer named 'GDT.SDE_BAY_ZIPI'. msSDELayerOpen(): SDE error. SE_version_get_info(): Version not found. (-126) CGI Request 1 on process 4676 msDrawMap(): Layer 0 (GDT.SDE_BAY_ZIP), 0.010s The data connection looks correct. I am able to view the same data through ArcCatalog. Any hint to help me continue my work? Thanks a lot. Have a great weekend. Sun
