[Mono-list] Npgsql.NpgsqlClosedState.Open An exception was thrown by the type initializer for System.Net.Dns
robertj at gmx.net
Sun Oct 22 19:25:02 EDT 2006
> npgsqlConnection1.Open() causes error
> An exception was thrown by the type initializer for System.Net.Dns
> Stack trace:
> at Npgsql.NpgsqlClosedState.Open (Npgsql.NpgsqlConnector context) [0x00000]
> at Npgsql.NpgsqlConnector.Open () [0x00000]
> at Npgsql.NpgsqlConnectorPool.GetPooledConnector (Npgsql.NpgsqlConnection
> Connection) [0x00000]
> Stack trace from exception object is incomplete. I have no idea why.
> How to fix this ?
It looks like Mono can't find its machine.config.
How do you invoke mono.exe?
More information about the Mono-list