[mapserver-users] MapServer and .NET?

Nelson Soto nellyfromma at gmail.com
Mon Aug 25 05:09:30 PDT 2008


Hi Guys,

I am following the tutorial on
http://www.paolocorti.net/2006/09/20/mapserver-tutorial-for-c-mapscript-asp-net/
regarding
getting started with MapServer on .Net. I eventually hit a snag where I run
into error "The type initializer for 'OSGeo.MapServer.mapscriptPINVOKE'
threw an exception" when trying to run the demo application. I have tried
several demo projects in Visual Studio and I receive the same errors.
Running down the stack, this seems to be the general exception:

 {"Unable to load DLL 'mapscript': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)"}

This happens even with projects that are coming with there own mapserver.dll
and all other necessary filesinthe bin folder. Does anyone have any
experience with dealing with MapServer on .Net and can anyone help me or
point me in the right direction. Right now I guess I am looking at
downloading Dependancy Walker to try to see if I can get further into this
exception, but I just want to know if anyone else has ever run into this
before.

Thanks,
Nelson Soto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080825/f2e5ad55/attachment.htm>


More information about the MapServer-users mailing list