jonpryor / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
0 stars 0 forks source link

Could not load databaseConnectionType type 'Npgsql.NpgsqlConnection, Npgsql' #292

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run DbMetal.exe to access postgresql 
2. with --provider=PostgreSql
3.

What is the expected output? What do you see instead?
DbMetal: Could not load databaseConnectionType type 'Npgsql.NpgsqlConnection, 
Npgsql'.  Try using the --with-dbconnection=TYPE option.

What version of the product are you using? On what operating system?
Ubuntu 10.10, mono 2.6.7 DbMetal from 0.20.1

What did i do wrong?

Original issue reported on code.google.com by pchott@gmail.com on 9 Nov 2010 at 11:22

GoogleCodeExporter commented 9 years ago
I think you improperly configured DbMetal; see:

http://code.google.com/p/dblinq2007/wiki/Installation#To_run_DbMetal

specifically, you either need to copy Npgsql.dll into the same directory as 
DbMetal.exe, or you need to update DbMetal.exe.config to have an 
assembly-qualified type name (including Version, Culture, and PublicKeyToken).

Original comment by jonmpr...@gmail.com on 9 Nov 2010 at 9:11

GoogleCodeExporter commented 9 years ago
Thx for tip. I forget to copy Npsql.dll to folder.

Original comment by pchott@gmail.com on 9 Nov 2010 at 9:34