Using dotConnect in Azure WebApp

Using dotConnect in Azure WebApp

Postby pkutakov » Fri 28 Oct 2016 15:47

Hello,

We've created an application based on ASP.NET MVC, Entity Framework and BulkInsert package that was adopted for Oracle using dotConnect for Oracle driver (can be found here: https://github.com/Thorium/EntityFramework.BulkInsert). When we attempted to use it we got the following error:

Can not obtain Oracle client information from registry. Make sure that Oracle Client Software is installed, or use Direct mode of connecting to server.

As you probably know there is no way to change IIS settings on Azure Web Site.

Is there any way to fix that?
pkutakov
 
Posts: 1
Joined: Fri 28 Oct 2016 14:05

Re: Using dotConnect in Azure WebApp

Postby Pinturiccio » Tue 01 Nov 2016 14:09

dotConnect for Oracle can establish a connection to Oracle database in two modes: Direct and OCI. If you use OCI, Oracle Client of the same bitness as your application is required to establish a connection. If your application is running as x64, Oracle Client x64 must be installed on the computer where your application is running. If your application is running as x86, Oracle Client x86 must be installed on the computer where your application is running.

If you cannot install Oracle Client of the required capacity on the computer where your application is running, you can use the Direct mode for establishing a connection without Oracle Client. For more information, please refer to https://www.devart.com/dotconnect/oracle/docs/?DirectMode.html
Pinturiccio
Devart Team
 
Posts: 1893
Joined: Wed 02 Nov 2011 09:44


Return to dotConnect for Oracle