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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to