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

Martín Neu martin.neu at gmail.com
Mon Nov 16 08:45:30 EST 2009


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?

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
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20091116/1e2ebe5d/attachment-0001.html 


More information about the Mono-list mailing list