[mapserver-users] How I solve This Exception

Tamas Szekeres szekerest at gmail.com
Sun Feb 20 14:33:42 EST 2011


Do you have more details about this error message? I suspect it might be a
DllNotFoundException which would indicate that one or more dll-s (mostly the
unmanaged part) are not available to load at run-time.


Best regards,

Tamas



2011/2/20 Mustafa646 <noorcs22 at gmail.com>

>
> I am using C# MapScript in ASP.Net Application.
> I am getting an exception at this line:
>
> mapObj map = new
>
> mapObj(System.Configuration.ConfigurationManager.AppSettings["mapFilePath"].ToString());
>
> Exception:
>
> The type initializer for 'OSGeo.MapServer.mapscriptPINVOKE' threw an
> exception.
>
> Can anybody have an idea about this, what is wrong ?
>
> this is code of a sample application from:
>
> http://www.paolocorti.net/2006/07/26/implementing-the-c-mapscript-code/
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/How-I-solve-This-Exception-tp6045646p6045646.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110220/2e69028f/attachment.html


More information about the mapserver-users mailing list