[mapserver-users] Trouble with a Share Point Portal.

Pietro Giannini pgiannini at bytewise.it
Wed Jul 16 12:34:31 EDT 2008


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



More information about the mapserver-users mailing list