[mapserver-users] MapScript EntryPointNotFoundException 'CSharp_MS_LABEL_ALLOCSIZE_get'

Hans Wapenaar (GIS Innovations) hans.wapenaar at gis-innovations.nl
Wed Mar 20 02:50:03 PDT 2013


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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130320/6eb6e5f2/attachment.htm>


More information about the MapServer-users mailing list