How to install dotConnect for both PostgreSQL and SQLIte
Posted: Wed 22 May 2013 06:25
Hi,
I have installed Devart dotConnect for PostgreSQL (5.60.350) in my system and developed an sample app. All what I did was, copied the Devart.Data.dll, Devart.Data.Linq.dll, Devart.Data.PostgresSQL.dll and Devart.Data.PostgreSQL.Linq.dll from ProgramFiles/Common/Devart/5.0/ to local folder where the app resides and referred these dll's from the local folder.
Now in order to support dotConnect for SQLite, I have downloaded trial version of SQLite and installed the same. While installation I get an error saying "Already older version of Devart.Data.dll (this is for PostgreSQL) is available in GAC. Do you still want to continue". So I clicked continue anyway. And same got installed.
Now without doing any changes in references, I ran the sample app, but I get an exception something like "Void method not found... ..ctor" while trying to make which says that Constructor not found.
then uninstalled both SQLite and PostgreSQL, then only the app started working without any error.
Please suggest me better way so that I can have dotConnect for both PostgreSQL and SQLLite in same machine. So that I can refer both the components in my app so that it can support both the datasources based on config changes.
I have installed Devart dotConnect for PostgreSQL (5.60.350) in my system and developed an sample app. All what I did was, copied the Devart.Data.dll, Devart.Data.Linq.dll, Devart.Data.PostgresSQL.dll and Devart.Data.PostgreSQL.Linq.dll from ProgramFiles/Common/Devart/5.0/ to local folder where the app resides and referred these dll's from the local folder.
Now in order to support dotConnect for SQLite, I have downloaded trial version of SQLite and installed the same. While installation I get an error saying "Already older version of Devart.Data.dll (this is for PostgreSQL) is available in GAC. Do you still want to continue". So I clicked continue anyway. And same got installed.
Now without doing any changes in references, I ran the sample app, but I get an exception something like "Void method not found... ..ctor" while trying to make which says that Constructor not found.
then uninstalled both SQLite and PostgreSQL, then only the app started working without any error.
Please suggest me better way so that I can have dotConnect for both PostgreSQL and SQLLite in same machine. So that I can refer both the components in my app so that it can support both the datasources based on config changes.