Hi all,

For Java bindings (about a year ago), we found that using a current
version of SWIG to re-build the pre-canned SWIG interface gave a
better result. Before this we has issues with SWIG doing things like
flattening structs.

We identified and solved the problem by intercepting and inspecting
the map objects that threw the exception to ensure they contained
what the API said they ought to contain.

Cheers,

Antti 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tamas Szekeres
Sent: Thursday, 17 July 2008 5:46 AM
To: Pietro Giannini
Cc: [email protected]
Subject: Re: [mapserver-users] Trouble with a Share Point Portal.

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

------IMPORTANT - This message has been issued by The Department of 
Agriculture, Fisheries and Forestry (DAFF). The information transmitted is for 
the use of the intended recipient only and may contain sensitive and/or legally 
privileged material. It is your responsibility to check any attachments for 
viruses and defects before opening or sending them on. 

Any reproduction, publication, communication, re-transmission, disclosure, 
dissemination or other use of the information contained in this e-mail by 
persons or entities other than the intended recipient is prohibited. The taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you have received this e-mail in 
error please notify the sender and delete all copies of this transmission 
together with any attachments. If you have received this e-mail as part of a 
valid mailing list and no longer want to receive a message such as this one 
advise the sender by return e-mail accordingly. Only e-mail correspondence 
which includes this footer, has been authorised by DAFF 
------
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to