Can not obtain Oracle client information from registry. Make sure that Oracle Client Software is installed, or use Direc

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
chandradev
Posts: 3
Joined: Fri 09 May 2014 11:32

Can not obtain Oracle client information from registry. Make sure that Oracle Client Software is installed, or use Direc

Post by chandradev » Mon 12 May 2014 10:27

Hi

I am getting the below error while making connection with database with 64 bit mode in IIS. It is working fine with 32 bit mode.


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

Could you tell me what is the Solution for this ?

I have written small sample code for testing Devart database connectivity like this

Code: Select all

using System;
using Devart.Data.Oracle;


namespace DevArt_Test_For_64bit
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
           
            OracleConnection con = new OracleConnection("Here is the connection string ");
            OracleCommand rowCountCommand = new OracleCommand("select Count(*) from v$version");
            rowCountCommand.Connection = con;
            rowCountCommand.Connection.Open();
            object k = rowCountCommand.ExecuteScalar();
            Response.Write(k);
        }
    }
}
I have also created sample code for this issue. But here is no option to upload. If you want sample code on this issue, then please let me know.

Note I m using this version Software

Application Platform: Visual Studio 2013
.NET Framework: 4.5.1
Browser: IE 10 (Document Mode: Standards)
O.S: Windows 7, 64 bit
Oracle 11g 64 bit.


Post Reply