I can't speak specifically to ASP.NET but for C#, I place all of the MapScript-related DLLs in the same directory as my C# application executable. Below are the files that I have in my Debug or Release folder for MapServer 5.0.2
cfitsio.dll gdal15.dll geos_c.dll geotiff.dll hdf5dll.dll iconv.dll jbig1.dll libcurl.dll libeay32.dll libecwj2.dll libexpat.dll libfcgi.dll libmap.dll libmysql.dll libpq.dll libtiff.dll libxml2.dll lti_dsdk_dll.dll mapscript.dll mapscript_csharp.dll netcdf.dll pdflib.dll proj.dll sqlite3.dll ssleay32.dll szlibdll.dll xerces-c_2_7.dll zlib1.dll HTH, Brian From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nelson Soto Sent: Monday, August 25, 2008 8:10 AM To: Mapserver-users Subject: [mapserver-users] MapServer and .NET? 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
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
