Hi there,
I understand that this is the dotConnect for PostgreSQL forum. I currently have dotConnect for PostgreSQL in my project. Recently I downloaded and installed a trial for dotConnect for Salesforce. Afterwards I started Visual Studio (2017) and received two errors.
The 'Devart.Data.PostgreSQL.Vs.PgSqlDataProvidorPackage' Package (5.0.24040.0) did not load correctly.
and the same error for the Devart.data.salesforce package showing a different version (5.0.2375.0).
I understand that they both use the same Devart.Data.dll. I pointed the project to the PostgreSQL one as it is newer.
How do I resolve this conflict?
Thanks,
Chris Campbell
Error after installing dotConnect for Salesforce
Re: Error after installing dotConnect for Salesforce
dotConnect providers use a common assembly (Devart.Data.dll), so it is necessary to install compatible providers versions. We release our ADO.NET data providers in a single pack, thus releases from the same date should be compatible:
* https://www.devart.com/dotconnect/sales ... story.html
* https://www.devart.com/dotconnect/postg ... story.html
Does this information help? If not, reinstall both providers:
1) uninstall dotConnect providers and Entity Developer
2) make sure (via some file manager like https://x-diesel.com/) that there are no Devart.* and policy.*.Devart.* files/folders in the following locations:
* GAC 2.0 (\Windows\assembly\GAC_MSIL\)
* GAC 4.0 (\Windows\Microsoft.NET\assembly\GAC_MSIL\)
3) clear the directories:
* \Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Devart\
* \Program Files (x86)\Devart\
* \Program Files (x86)\Common Files\Devart\
* \Documents and Settings\All Users\Devart\EntityDeveloper\
* \Documents and Settings\All Users\Devart\dotConnect\
4) run installations of dotConnect providers via right-click > Run as administrator
* https://www.devart.com/dotconnect/sales ... story.html
* https://www.devart.com/dotconnect/postg ... story.html
Does this information help? If not, reinstall both providers:
1) uninstall dotConnect providers and Entity Developer
2) make sure (via some file manager like https://x-diesel.com/) that there are no Devart.* and policy.*.Devart.* files/folders in the following locations:
* GAC 2.0 (\Windows\assembly\GAC_MSIL\)
* GAC 4.0 (\Windows\Microsoft.NET\assembly\GAC_MSIL\)
3) clear the directories:
* \Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\Extensions\Devart\
* \Program Files (x86)\Devart\
* \Program Files (x86)\Common Files\Devart\
* \Documents and Settings\All Users\Devart\EntityDeveloper\
* \Documents and Settings\All Users\Devart\dotConnect\
4) run installations of dotConnect providers via right-click > Run as administrator
Re: Error after installing dotConnect for Salesforce
Thank you.
I was able to find installs that contains the same version of the devart.data.dll component and after running both all is well.
Thank you for your help.
Chris.
I was able to find installs that contains the same version of the devart.data.dll component and after running both all is well.
Thank you for your help.
Chris.