[Mono-list] Mono and NPGSQL problems, help please!!

Martín Neu martin.neu at gmail.com
Tue Nov 17 06:46:08 EST 2009


Hi!

I use the version 2.0.7, but i try with 2.0.6 too.
I try with booth mono and ms compiled version's.

I realy lost...

On Mon, Nov 16, 2009 at 11:30 PM, Francisco Figueiredo Jr. <
francisco at npgsql.org> wrote:

> On Mon, Nov 16, 2009 at 11:45, Martín Neu <martin.neu at gmail.com> wrote:
> > I just tried remove Mono.Security and only reference NPGSQL, but i get
> the
> > same error.
> > I think NPGSQL was compiled whit Mono.Security inside.
> >
> > Other thing i try is re-compile npgsql referencing Mono.Security located
> in
> > the Mono GAC, but fail again.
> >
> > Any idea?
> >
>
> Which Npgsql version did you get?
>
> I think you are using the ms.net compiled binary. Try to use the Mono
> compiled binary.
>
> I know this shouldn't give you different results, but I've seen cases
> where you get problems by using Mono compiled binary with ms.net and
> vice-versa.
>
> I hope it helps.
>
>
>
>
> > On Mon, Nov 16, 2009 at 10:39 AM, Marek Habersack <
> grendel at twistedcode.net>
> > wrote:
> >>
> >> Martín Neu wrote:
> >>>
> >>> Hi Marek!
> >>
> >> Hey,
> >>
> >>>
> >>> I can't remove it becouse i need the npgsql library to connect my
> >>> application to PostgreSQL.
> >>
> >> Yes, you can remove it. Mono has its own copy of Mono.Security and the
> one
> >> distributed with Npgsql (for the benefit of .NET), that is the one
> you're
> >> most likely using, is too old for your Mono.
> >>
> >> marek
> >>>
> >>> Any other idea?
> >>>
> >>> Thanks!
> >>>
> >>>
> >>> On Mon, Nov 16, 2009 at 10:32 AM, Marek Habersack
> >>> <grendel at twistedcode.net <mailto:grendel at twistedcode.net>> wrote:
> >>>
> >>>    MNEU wrote:
> >>>
> >>>        Hi!
> >>>
> >>>    Hello
> >>>
> >>>
> >>>        I'm using mono in Windows environment (using npgsql), when i run
> >>>        the proyect
> >>>        with MS compiler i have no errors and work fine. But when i use
> >>>        the mono
> >>>        compiler i get this error:
> >>>
> >>>
> >>>        ** (C:\Program
> >>>        Files\Mono-2.4.2.3\lib\mono\2.0\winhack\xsp2.exe:4188):
> >>>        WARNING **: Missing method
> >>>
> >>>
>  Mono.WebServer.XSPWebSource::.ctor(IPAddress,int,SecurityProtocolType,X509Certificate,PrivateKeySelectionCallback,bool,bool,bool)
> >>>        in assembly C:\Program
> >>>
> >>>
>  Files\Mono-2.4.2.3\lib\mono\gac\Mono.WebServer2\0.2.0.0__0738eb9f132ed756\Mono.WebServer2.dll,
> >>>        referenced in assembly C:\Program
> >>>
> >>>
>  Files\Mono-2.4.2.3\lib\mono\gac\xsp2\2.4.2.0__0738eb9f132ed756\xsp2.exe
> >>>
> >>>
> >>>        I have the Mono.Security.dll referenced and in the same
> directory.
> >>>
> >>>    Remove it and it will work
> >>>
> >>>    marek
> >>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
>
>
>
> --
> Regards,
>
> Francisco Figueiredo Jr.
> Npgsql Lead Developer
> http://www.npgsql.org
> http://fxjr.blogspot.com
> http://twitter.com/franciscojunior
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091117/fb62d153/attachment-0001.html 


More information about the Mono-list mailing list