[MS4W-Users] SDE connection

miki79 tape2m at virgilio.it
Tue Aug 21 04:38:36 EST 2012


Hello,

I'm trying to connect Mapserver with SDE in MS4W. I followed the
README-sde.txt to Enable SDE 9.1, 9.2, 9.3 Support in MS4W's MapServer.


This is my Layer:

LAYER
    NAME PSITDATA.COMUNI
    TYPE POLYGON
    CONNECTIONTYPE PLUGIN
    CONNECTION "host,port:1521,DBNAME,UN,PW"
    PLUGIN "C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll"
    DATA "PSITDATA.COMUNI,SHAPE,sde.DEFAULT"
    CLASS
        STYLE
            OUTLINECOLOR 0 0 0
            COLOR 0 128 128
        END
    END
    METADATA
      "wms_title"        "PSITDATA.COMUNI"
      #"wms_srs"             "EPSG:26591"
      "wms_srs"              "EPSG:32633"         
      "wms_name"            "PSITDATA.COMUNI"
      "wms_server_version"  "1.1.1"
      "wms_format"          "image/png"
      "wms_enable_request" "*"   ##necessary
    END
    PROJECTION
      "init=epsg:32633"
    END
END


but in the MapServer errors log I can see the following lines:

*msGetSymbol(): General error message. Can't load requested dynamic library:
C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll
loadCustomLayerDLL: General error message. Failed to load dynamic Layer LIB:
C:/ms4w/Apache/cgi-bin/msplugin_sde_92.dll*

Can anyone help me please!

Thanks in advance.

Michele 



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/SDE-connection-tp4996588.html
Sent from the ms4w-users mailing list archive at Nabble.com.


More information about the MS4W-Users mailing list