Milo, I tried: all the dlls resides in \bin directory of the share point virtual directory and the IIS user (and the share point user too) has read, write and execute allowed on the gdal dir and the proj dir; so, maybe, is not a problem of permissions.
Otherwise in a normal ASP.NET application, on a different IIS not sharepoint-ized, all works fine. any idea? thanks ..........................pg -- Pietro Giannini Bytewise srl - Area GIS 41°50'38.58"N 12°29'13.39"E On Mer, Luglio 16, 2008 20:34, Milo van der Linden wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Pietro, > > This may have to do with permissions on the (I assume) windows 2003 > server. Make sure that the user that runs IIS has enough rights in the > directory your dll's are in but also on the directories where gdal and > proj are. > > Pietro Giannini wrote: >> 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 >> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIfj8Z2oMdf0ahv2kRAlnqAKCLNHBHUnBp5XnNuLCHJBHPKtM9ZQCfRDXo > UzVOlTaR2MYyakjVnscXDNY= > =APdE > -----END PGP SIGNATURE----- > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
