Page 1 of 1

Installation on production machine failled

Posted: Wed 01 Jul 2015 08:53
by RomainT06
Hi,
I have developped a application with dotConnect and EF6
It works fine on my dev machine
But I am not able to lauch it on the production machine
I have copied the 3 DLL and the config file from dev but it does'nt work
Is there a reditribuable package ?
What is the minimun config file. I use 8.4.422.6
Thanks
Romain

Re: Installation on production machine failled

Posted: Wed 01 Jul 2015 12:09
by RomainT06
I have the error
The underlying provider failed on Open

Re: Installation on production machine failled

Posted: Wed 01 Jul 2015 12:39
by Shalex
RomainT06 wrote:I have developped a application with dotConnect and EF6
I have copied the 3 DLL
They should be:
"C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.dll"
"C:\Program Files (x86)\Devart\dotConnect\Oracle\Devart.Data.Oracle.dll"
"C:\Program Files (x86)\Devart\dotConnect\Oracle\Entity\EF6\Devart.Data.Oracle.Entity.dll" (revision *.6)
RomainT06 wrote:What is the minimun config file. I use 8.4.422.6

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
  </configSections>
  <entityFramework>
    <providers>
      <provider invariantName="Devart.Data.Oracle" type="Devart.Data.Oracle.Entity.OracleEntityProviderServices, Devart.Data.Oracle.Entity, Version=8.4.422.6, Culture=neutral, PublicKeyToken=09af7300eec23701" />
    </providers>
  </entityFramework>
  <system.data>
    <DbProviderFactories>
      <remove invariant="Devart.Data.Oracle" />
      <add name="dotConnect for Oracle" invariant="Devart.Data.Oracle" description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=8.4.422.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
    </DbProviderFactories>
  </system.data>
</configuration>
Replace 8.4.422 here with your current version of dotConnect for Oracle. Please note that the revision number of provider in the entityFramework section is *.6 but it should be *.0 in DbProviderFactories.

If this doesn't help, please specify the full call stack of the error with all inner exceptions.

Re: Installation on production machine failled

Posted: Thu 02 Jul 2015 08:50
by RomainT06
Thank you very mush it works fine