Without dotConnect ?

Without dotConnect ?

Postby GregCA2S » Fri 26 Apr 2013 21:41

Hello everyone :)

I would like to know if there is a way to connect an application to Oracle without installing "Devart dotConnect for Oracle".
We'd like to use DLL files directly.

Here is a sample of the connexion string we are using :
<add name="Entities1"
connectionString="metadata=res://*/system.Model.Model.csdl|res://*/system.Model.Model.ssdl|res://*/system.Model.Model.msl;provider=Devart.Data.Oracle;provider
connection string=&quot;Password=pass;User Id=user;Server=server;Persist
Security Info=True&quot;"
providerName="System.Data.EntityClient" />

Any help would be very welcome :oops:
GregCA2S
 
Posts: 1
Joined: Fri 26 Apr 2013 21:35

Re: Without dotConnect ?

Postby Shalex » Sat 27 Apr 2013 08:27

1. You can deploy your application without installing dotConnect for Oracle on the target workstation: http://www.devart.com/dotconnect/oracle/docs/EF.html#project (the Deploying an Entity Framework Project section).

2. Make sure that you have added the license resource to your application: http://www.devart.com/dotconnect/oracle/docs/licensing.html. dotConnect for Oracle includes License Wizard that helps you configure license information. The wizard analyzes the current project, informs you about problems found, and performs some actions needed to fix the problems. To invoke the wizard choose Oracle | License Information from the Visual Studio Tools menu. Then click the Fix buttons in the dialog and follow the wizard's instructions. In most cases this is enough to configure .NET component licensing.

If this doesn't help, specify the provider-specific exception you are getting in the deployment environment.

GregCA2S wrote:connection string=&quot;Password=pass;User Id=user;Server=server;Persist
Security Info=True&quot;

You can avoid installing Oracle client on the target workstation by using the Direct Mode: http://www.devart.com/dotconnect/oracle/docs/?directmode.html.
Shalex
Devart Team
 
Posts: 7542
Joined: Thu 14 Aug 2008 12:44


Return to dotConnect for Oracle