SDE connection problem with MapServer 5.0

Pål Kristensen pal.kristensen at STATKART.NO
Thu Oct 25 00:12:45 PDT 2007


Hi All!

I'm trying to connect to a SDE feature class with mapserver, but I got the
following error message in the log file:

[Thu Oct 25 08:57:44 2007].425000 msGetSymbol(): General error message.
Can't load requested dynamic library:
c:/ms4w/apache/specialplugins/msplugin_sde_92.dll
[Thu Oct 25 08:57:44 2007].425000 loadCustomLayerDLL: General error message.
Failed to load dynamic Layer LIB:
c:/ms4w/apache/specialplugins/msplugin_sde_92.dll
[Thu Oct 25 08:57:44 2007].425000 msDrawMap(): Image handling error. Failed
to draw layer named 'Linjer'.

This is what I have done: (BTW the MS4W installation is OK, other
applications are running fine, including OCI connections)
1) Installed MS4W 2.2.6
2) Installed SDE 9.2 C SDK
3) Performed step 1-4 in the MS4W SDE documentation:
http://www.maptools.org/ms4w/index.phtml?page=README_INSTALL.html#sde

This is the layer part of the mapfile:
...
   LAYER
      NAME "Linjer"
      STATUS ON
      #CONNECTIONTYPE SDE
      CONNECTIONTYPE PLUGIN
      PLUGIN "c:/ms4w/apache/specialplugins/msplugin_sde_92.dll"
      CONNECTION "159.162.xx.xx,port:5156,sde,username,password"
      DATA "TEMADATA.Sjogrense_Norge_linje,SHAPE,SDE.DEFAULT"
      DUMP TRUE
      TYPE line
      #TEMPLATE "c:/ms4w/empty.txt"
      METADATA
         "ows_title" "Grenser"
         #"ows_extent" "3.716432 57.499794 31.755125 71.890866"
         "ows_include_items" "All"
         "gml_include_items" "All"
      END
      PROJECTION
         "init=epsg:4326"
      END
      CLASS
         NAME "Alle"
         #MAXSCALE 14000000
         #MINSCALE 10000000
         #TEXT ([ZONE][ROW])
         STYLE
            WIDTH 2
            COLOR 255 0 0
            #OUTLINECOLOR 255 1 1
         END
      END
   END
...

Any suggestions?

Regard,
Pål Kristensen
Norwegian Mapping and Cadastre Authority
-- 
View this message in context: http://www.nabble.com/SDE-connection-problem-with-MapServer-5.0-tf4689019.html#a13401379
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list