Tamas, the error happens when I try to invoke an instance of mapserver: string v += OSGeo.MapServer.mapscript.msGetVersion();
In the c# project the mapscript_csharp.dll is referenced, and it is also registred in the GAC regards ......................... pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58"N 12°29'13.39"E On Mer, Luglio 16, 2008 21:46, Tamas Szekeres wrote: > Pietro, > > Could you provide a code sample to investigate the problem in more detail? > > Best regards, > > Tamas > > 2008/7/16 Pietro Giannini <[EMAIL PROTECTED]>: >> Hi all, >> >> I'm in serious trouble with the ambitious project of a web mapping app >> in >> a Windows SharePoint Services 3.0 environment; in detail, the >> application >> is embedded in a web part. >> Obviously, I'm developing in c#, that is not my preferred... >> >> I've recompiled myself mapserver and the mapscript_csharp assembly. In a >> debug environment all works fine but when I deploy the web part on the >> server I allways receive the same error: >> >> - Exception of type: System.TypeInitializationException; >> - with the message: "The type initializer for >> 'OSGeo.MapServer.mapscript' >> threw an exception"; >> - the source: mapscript_csharp; >> - the InnerException.StackTrace is: >> -- at OSGeo.MapServer.mapscriptPINVOKE.MAX_ERROR_LEN_get() >> -- at OSGeo.MapServer.mapscript..cctor() >> >> If anyone has experienced the same or a similar problem, or has more >> experience than me, can please help me? >> >> thanks in advance. >> >> ..........................................pg >> >> -- >> Pietro Giannini >> Bytewise srl - Area GIS >> 41°50'38.58"N 12°29'13.39"E >> >> _______________________________________________ >> 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
