Without dotConnect ?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
GregCA2S
Posts: 1
Joined: Fri 26 Apr 2013 21:35

Without dotConnect ?

Post by 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="Password=pass;User Id=user;Server=server;Persist
Security Info=True""
providerName="System.Data.EntityClient" />

Any help would be very welcome :oops:

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Re: Without dotConnect ?

Post by 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 ... ml#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 ... nsing.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="Password=pass;User Id=user;Server=server;Persist
Security Info=True"
You can avoid installing Oracle client on the target workstation by using the Direct Mode: http://www.devart.com/dotconnect/oracle ... tmode.html.

Post Reply