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

Pietro Giannini pgiannini at bytewise.it
Thu Jul 17 05:24:05 PDT 2008


Yes.

The strange is that another application, in a non SharePoint IIS, run well
with the precompiled binaries shipping in the ms4w package.
A Share Point portal (this is Share Point Services 3.0) however has a more
restrictive policy for the customized assemblies to deploy in, and an
assembly must to be registrered in the Global Assembly Cach and described
as "safe control" in the web.config of the site collection (the virtual
directory of site).
This is the reason I must to recompile the entire project: to have a
mapscript_csharp.dll strong-named to add it to GAC.

any idea?

many thanks
.................................. p


-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E



On Gio, Luglio 17, 2008 14:04, Venkat Rao Tammineni wrote:
> Hi,
>
>   Have you replaced all dll(like libmap.dll etc..) into bin folder?
>
> Thanks and Regard
> Venkat.
>
> -----Original Message-----
> From: Pietro Giannini [mailto:pgiannini at bytewise.it]
> Sent: Thursday, July 17, 2008 5:25 PM
> To: mapserver-users at lists.osgeo.org
> Cc: Venkat Rao Tammineni
> Subject: RE: [mapserver-users] Trouble with a Share Point Portal.
>
> Venkat,
> this is the first I tried, don't work...
>
> In Visual Studio I can reference only the mapscript_csharp.dll, how can I
> reference a non-assembly .dll?
>
> regards
> ........................................... pg
>
>
> --
> Pietro Giannini
> Bytewise srl - Area GIS
> 41°50'38.58"N 12°29'13.39"E
>
>
>
> On Gio, Luglio 17, 2008 06:17, Venkat Rao Tammineni wrote:
>> Hi,
>>
>>    Take latest version of mapserver (Ms4W 2.7.7) and  update all the
>> dlls
>> form the cgi-bin to Visual Studio  add the reference from visual
>> studio.It
>> will work.There is only problem with version.Because I did the same.I
>> think
>> it will help you.
>>
>> Thanks and Regards
>> Venkat.
>>
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Pietro
>> Giannini
>> Sent: Wednesday, July 16, 2008 10:05 PM
>> To: mapserver-users at lists.osgeo.org
>> Subject: [mapserver-users] Trouble with a Share Point Portal.
>>
>> 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
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
>
>





More information about the MapServer-users mailing list