[mapserver-users] MapScript EntryPointNotFoundException 'CSharp_MS_LABEL_ALLOCSIZE_get'

Tamas Szekeres szekerest at gmail.com
Wed Mar 20 04:48:47 PDT 2013


Hans,

You probably have an older version on mapscript dll available in the PATH
which is loaded at run time instead of the correct version.
Make sure mapscript_csharp.dll loads the proper version of mapscript.dll.

Best regards,

Tamas



2013/3/20 Hans Wapenaar (GIS Innovations) <hans.wapenaar at gis-innovations.nl>

> Hi,****
>
> ** **
>
> I am upgrading a website with MapServer 5.6 to 6.2.****
>
> Website was made in Visual Studio using MapScript. After some adjustments
> I got it running in Visual Studio. But when I publish the website on a
> server with IIS 7.5 the following error appears:****
>
> ** **
>
> Error in initMapJ: System.TypeInitializationException: ****
>
> The type initializer for 'OSGeo.MapServer.mapscript' threw an exception.
> ---> ****
>
> System.EntryPointNotFoundException: Unable to find an entry point named
> 'CSharp_MS_LABEL_ALLOCSIZE_get' in DLL 'mapscript'.****
>
>    at OSGeo.MapServer.mapscriptPINVOKE.MS_LABEL_ALLOCSIZE_get()****
>
>    at OSGeo.MapServer.mapscript..cctor()****
>
>    --- End of inner exception stack trace ---****
>
> ** **
>
> In initMapJ the mapObj is created/mapfile opened.****
>
> The error appears at moment that a layer object is read.****
>
> ** **
>
> I have no idea where to look. I tried removing all label settings from the
> mapfile. But I thinks it something else.****
>
> Any suggestions/ideas?****
>
> ** **
>
> Thank, Hans Wapenaar****
>
> ** **
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130320/b59de7a3/attachment.html>


More information about the mapserver-users mailing list