Re: BUG #14382: System.TypeLoadException: Failure has occurred while loading a type

From: "Rader, David" <davidr(at)openscg(dot)com>
To: mali(dot)jitendra(at)tcs(dot)com
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14382: System.TypeLoadException: Failure has occurred while loading a type
Date: 2016-10-19 14:34:31
Message-ID: CAABt7R4aP_s5ggSSdQAhrCBjU7sm3sJONbHQ5h6MYt4R3k9AnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

--
David Rader
davidr(at)openscg(dot)com

On Wed, Oct 19, 2016 at 6:43 AM, <mali(dot)jitendra(at)tcs(dot)com> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 14382
> Logged by: Jitendra Mali
> Email address: mali(dot)jitendra(at)tcs(dot)com
> PostgreSQL version: 9.2.13
> Operating system: Red Hat Linux 7.2
> Description:
>
> MVC 2 Web Application is deployed on Red Hat Linux 7.2. It is using Mono
> 4.2.2 and Postgres 9.2. Postgres and web app are present on same linux box
> and trying to access app from same linux box.
>
> pg_hba.conf is configured with below settings:
>
> # TYPE DATABASE USER ADDRESS METHOD
>
> # "local" is for Unix domain socket connections only
> local all all trust
> # IPv4 local connections:
> host all all 127.0.0.1/32 trust
> host all all 0.0.0.0/32 trust
>
> And postgresql.conf is configured with below connection setting:
>
> # - Connection Settings -
>
> listen_addresses = 'localhost'
> port = 5432
>
> After modification in above config files, database is restarted.
>
> When web app is calling NpgsqlConnection's open method, below error is
> surfacing:
>
> System.TypeLoadException: Failure has occurred while loading a type.
> at Npgsql.NpgsqlConnector.Open () [0x0002b] in
> <66e0c39290f143458641d7ea98ad7557>:0
> at Npgsql.NpgsqlConnectorPool.GetPooledConnector
> (Npgsql.NpgsqlConnection
> Connection) [0x0015f] in <66e0c39290f143458641d7ea98ad7557>:0
>
> Deployment folder's bin folder is containing Npgsql.dll (Version 2.2.5.0
> and
> Mono.Security.dll (Version 2.0.0.0).
>
>
For help with Npgsql, please follow the instructions on their community
page:
http://www.npgsql.org/community.html

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2016-10-19 15:05:23 Re: BUG #14370: pgagent_96 service typo?
Previous Message Rader, David 2016-10-19 14:32:14 Re: pgAdmin4 on Mac