linqpad-postgresql-driver icon indicating copy to clipboard operation
linqpad-postgresql-driver copied to clipboard

ArgumentException - Duplicate type name within an assembly

Open rornor opened this issue 8 years ago • 7 comments

After creating connection to database (Test connection - Success), when I select database in "Connection pane" I get error as title says.

I use PG 9.5 and latest LinqPad

rornor avatar Aug 15 '16 08:08 rornor

Thanks for reporting the issue. Can you provide your database structure or a small example to reproduce the issue?

fknx avatar Aug 22 '16 07:08 fknx

It seems the problem is in postgis extension. If you have postgis you can enable on a test database with:

create extension postgis;

rornor avatar Aug 22 '16 20:08 rornor

No luck solving this?

georgiosd avatar Oct 13 '17 10:10 georgiosd

I have this problem too. Any workaround/fix?

perholje avatar Oct 18 '17 13:10 perholje

Me too

aarian93p avatar Apr 17 '18 15:04 aarian93p

It seems the problem is in postgis extension. If you have postgis you can enable on a test database with:

create extension postgis;

how did u actually solve this? I find it only works when i remove the existing postgis extension, but I need the extension in postgres

adamsolkar avatar Feb 16 '19 22:02 adamsolkar

I can confirm the pull request #33 fixes this issue.

dlidstrom avatar Mar 19 '21 09:03 dlidstrom