<br><br><div class="gmail_quote">2010/3/2 Frost89 <span dir="ltr">&lt;<a href="mailto:kristian_frost7@hotmail.com">kristian_frost7@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I get this error:<br>
System.TypeInitializationException: An exception was thrown by the type<br>
initializer for OSGeo.MapServer.mapscriptPINVOKE ---&gt;<br>
System.TypeInitializationException: An exception was thrown by the type<br>
initializer for SWIGExceptionHelper ---&gt; System.DllNotFoundException:<br>
mapscript.dll<br>
<br>
I have tried adding mapscript.dll to my bin directory, but that changes<br>
nothing.<br>
<br></blockquote><div><br>Kristian,<br><br>You should copy all the dependent dll-s (like proj, geos, gdal) to the executing directory to make it available to load at run-time.<br><br>Best regards,<br><br>Tamas <br></div>
</div><br>