Posts Tagged ‘C#’

Unable to load DLL ‘mapscript’: The specified module could not be found.

Sunday, January 10th, 2010

This is how my MapServer .NET development experience began.  Searching the internet for a solution inevitably leads you back to the “you’re missing a dependency” and “compile the dll yourself”.  Not exactly the simple solution I was hoping for.

Alas after trying in vain to compile MapServer myself and endless hours scouring the internet I found the source!  The latest compiled builds for MapServer and the MapScript libraries can be found here: http://vbkto.dyndns.org:1280/sdk/Default.aspx

Be sure to use the DLLs from the same build when writing applications using MapScript.  It is very easy to get lost in DLL Hell with all the different versions being used by MapServer over time.

In the following weeks I will write about some of my experiences developing an ASP.NET web application using C# and MapScript.