[mapserver-users] Trouble with a Share Point Portal.
pgiannini at bytewise.it
Thu Jul 17 08:24:05 EDT 2008
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.
Bytewise srl - Area GIS
On Gio, Luglio 17, 2008 14:04, Venkat Rao Tammineni wrote:
> Have you replaced all dll(like libmap.dll etc..) into bin folder?
> Thanks and Regard
> -----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.
> 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?
> ........................................... 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:
>> Take latest version of mapserver (Ms4W 2.7.7) and update all the
>> form the cgi-bin to Visual Studio add the reference from visual
>> will work.There is only problem with version.Because I did the same.I
>> it will help you.
>> Thanks and Regards
>> -----Original Message-----
>> From: mapserver-users-bounces at lists.osgeo.org
>> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Pietro
>> 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
>> a Windows SharePoint Services 3.0 environment; in detail, the
>> 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
>> 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.
>> 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
More information about the mapserver-users