Are you running the cgi mapserv.exe or some other host process loading gdal
and the plugins?

Make sure you use the same architecture (x86/x64) for both the host process
and the plugin. You should also use the matching version of FileGDBAPI.dll
loaded.

You should either place the plugin into a /gdalplugins subdirectory from
where the application is running or use the GDAL_DRIVER_PATH environment
variable to specify the correct location. Also check the file access
permissions so that the dlls can be loaded by the executing user.

Best regards,

Tamas



2013/4/4 James Perrins <[email protected]>

> Hi,
>
> We have a server (x64) with mapserver 6.2 on it which is generally running
> fine
> Until we are trying to access an ESRI FileGDB layer when we keep getting:
>
> <ServiceException>
> msDrawMap(): Image handling error. Failed to draw layer named
> &#39;MMBDLine&#39;.
> msOGRFileOpen(): OGR error. Open failed for OGR connection in layer
> `MMBDLine&#39;.  File not found or unsupported format.
> </ServiceException>
>
> If we test with shp2img on the same map file - it all works - so obviously
> we have the ogr drivers installed on the server ok.
>
> If I use something like sysinternals to check the files accessed - the
> mapserver call scans the plugins folder - sees the plugin dll there - but
> never seems to load it.
> Same call on shp2img appears to access and load the dll properly and all
> works
> Not seeing any other obvious errors.
>
> Any clues ?
> I 've wondered about
>  - different user accounts - but I don't seem to be getting any access
> denied errors.
>  - 64 bit - I made sure the IIS application pool was 32 bit
>  - some other pathing issue - do I need a path variable set or somesuch ?
>
> Many Thanks
> James
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to