pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14382: System.TypeLoadException: Failure has occurred while loading a type
2+ messages / 2 participants
[nested] [flat]

* BUG #14382: System.TypeLoadException: Failure has occurred while loading a type
@ 2016-10-19 10:43 mali.jitendra@tcs.com
  2016-10-19 14:34 ` Re: BUG #14382: System.TypeLoadException: Failure has occurred while loading a type Rader, David <davidr@openscg.com>
  0 siblings, 1 reply; 2+ messages in thread

From: mali.jitendra@tcs.com @ 2016-10-19 10:43 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14382
Logged by:          Jitendra Mali
Email address:      mali.jitendra@tcs.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).



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14382: System.TypeLoadException: Failure has occurred while loading a type
  2016-10-19 10:43 BUG #14382: System.TypeLoadException: Failure has occurred while loading a type mali.jitendra@tcs.com
@ 2016-10-19 14:34 ` Rader, David <davidr@openscg.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Rader, David @ 2016-10-19 14:34 UTC (permalink / raw)
  To: mali.jitendra@tcs.com; +Cc: pgsql-bugs

--
David Rader
davidr@openscg.com

On Wed, Oct 19, 2016 at 6:43 AM, <mali.jitendra@tcs.com> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      14382
> Logged by:          Jitendra Mali
> Email address:      mali.jitendra@tcs.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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-10-19 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-10-19 10:43 BUG #14382: System.TypeLoadException: Failure has occurred while loading a type mali.jitendra@tcs.com
2016-10-19 14:34 ` Rader, David <davidr@openscg.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox