[ms4w-users] Error: Entry for SDE instance not found in servi ces file.

Baak Herrera Oscar Fernando ofbaak at merida.gob.mx
Wed Aug 23 12:57:13 EDT 2006


How do U define ur layer??

Follow this example about how to define a SDE layer :

LAYER #[3]
  NAME mySDELayer
  CONNECTION "mySDEserver,port:5151,myDatabase,user,password"
  CONNECTIONTYPE SDE
  DATA "myDatabase.DBO.mySDELayer,SHAPE,sde.default"  

  TYPE POLYGON
  MAXSCALE 17000
  TRANSPARENCY 30
  STATUS ON  
  CLASS
	NAME "mySDELayer"
	TEMPLATE "mySDELayer.html"
	OUTLINECOLOR 0 0 0
        COLOR 132 164 130 
	SYMBOL 0	
	LABEL
        COLOR  255 255 255
	  OUTLINECOLOR 132 164 130
        FONT fritqat-italic
        TYPE truetype
        SIZE 6
        POSITION CC         
        PARTIALS FALSE        
      END
  END
END


Order in connection, connectiontype anda data must be in this way.
U must know ur server name, service exist in that server for SDE and a valid
user and pass for layers.


Hope this help U.

			L.C.C.  Oscar Fernando Baak Herrera.
			Catastro Municipal.
			Ayuntamiento de Mérida.
			Tel. 9-24-28-28 Ext. 125.
			<www.catastromerida.gob.mx>

			Ayuntamiento de Mérida 2004-2007

Misión:Gobernar el municipio de Mérida, con la participación organizada y
corresponsable de sus habitantes, en apego al marco legal vigente,
administrando los recursos en forma transparente, honrada y eficiente, con
el fin de proporcionar a la comunidad obras y servicios públicos de
excelencia, orientados a elevar su nivel de vida.


-----Mensaje original-----
De: ms4w-users-bounces at lists.maptools.org
[mailto:ms4w-users-bounces at lists.maptools.org]En nombre de Steffen Macke
Enviado el: 22 de Agosto de 2006 07:43 a.m.
Para: ms4w-users at lists.maptools.org
Asunto: [ms4w-users] Error: Entry for SDE instance not found in services
file.


Hello All,

When I try to add an SDE layer to a mapfile, I get the following
error message:

Entry for SDE instance not found in services file.

I've checked the windows\system32\drivers\etc\services file for
the esri_sde entry. It's available and has an empty line after it.

I can connect to SDE without any problems using the GDAL tools like
ogr2ogr

I'm using MS4W 1.5.5.

Did anybody else experience similar problems?

Regards,

Steffen
_______________________________________________
ms4w-users mailing list
ms4w-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ms4w-users



More information about the ms4w-users mailing list