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 <[email protected]> > > 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users >
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
