Hi. The Npgsql contained in mono is crap.
See https://github.com/mono/mono/blob/master/mcs/class/Npgsql/Npgsql/NpgsqlFactory.cs#L51 The usage of casts in that place should ring all alarm bells... and ofc they don't work: System.InvalidCastException Cannot cast from source type to destination type. Description: HTTP 500.Error processing request. Details: Non-web exception. Exception origin (name of application or object): Npgsql. Exception stack trace: at Npgsql.NpgsqlFactory.CreateConnection () [0x00000] in <filename unknown>:0 This means that there is no way to run a mono application with generic DbProvider handling with postgres as backend in debian, unless the postgres support is hardcoded (assuming at least that works - didn't test it). -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org