Hi,

  My problem is I cannot even start DBMetal properly.

Technical info: Postgresql 9, DbLinq-0.20.1, Npgsql2.0.11.

At first I downloaded Npgsql for Net 4.0, registered it in GAC, edited
config for DBMetal and I get error:

DbMetal: Could not load databaseConnectionType type
'Npgsql.NpgsqlConnection, Npgsql, Version=2.0.11.0, Culture=neutral,
PublicKeyToken=5d8b90d52f46fda7'.  Try using the --with-
dbconnection=TYPE option.

So then, just of curiosity I also copied entire Npgsql into DBLinq.
This time DBMetal reveal the reason why it couldn't load this library
-- because it was compiled for newer version of runtime than DBMetal
itself.

OK, I unregistered Npgsql, downloaded .net 3.5 version, registered it
again, run DBMetal again, and this I have such error:

LoaderFactory.Load(schemaType=PgsqlSchemaLoader,
dbConnType=NpgsqlConnection)
Failed on Activator.CreateInstance(NpgsqlConnection)
LoaderFactory.Load() failed: Exception has been thrown by the target
of an invocation.
DbMetal: Exception has been thrown by the target of an invocation.

What can/should I do next? Thank you in advance for help.

-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to