Oracle 11g connectivity issue with VBA - oracle11g

I am trying to connect Oracle with VBA using connection string OraOLEDB.Oracle and it is throwing an error Provider not found
MS Office 365 - 64 bit
Oracle 11g - 64 bit
Windows7 - 64 bit
It is not possible for me to switch to 32 bit.
It will be a great help.

You need to get the 64-bit OLEDB driver installed. Repair your Oracle installation or download it from here.

Related

Oracle 10G Installation on Windows

I have a database: Oracle SQL Developer 3.2.20.9
an asp.net web application running locally on a pc with Windows 7 enterprise 64 bit, and to developed it I used Visual Studio 2013.
Now I should connect the application with the db so I' m trying to install:
Oracle 10g ODAC and Oracle Developer Tools for Visual Studio .NET
I get this Error:
"Abnormal program termination. an internal error has occured. Please provide the following files to Oracle Support:
Unknown
Unknown
Unknown"
Could I connect the webapp in other ways?
When I go to Server Explorer in Visual Studio and I choose connect to database -> add connection -> Oracle database -> .NET framework Data Provider for Oracle
I get:
"This provider is deprecated and should not be used. Instead, download Oracle Developer Tools for visual Studio for comprehensive integration with Oracle databases."
Oracle supports connections back two versions. You should try installing the ODAC client for 11g as that will connect to a version 10 database and supports windows 7.
Seeing as SQL developer is free why not get the latest version 4.02 here
Be sure to get an ODAC version that matches the bitness of the database, 32 bit or 64 bit. You can check this by logging onto the machine with Run > cmd > sqlplus > connect as your user/your password. If the header that is returned does not say 64 bit then the database is a 32 bit install and you need ODAC to match that.
And seeing as connecting to Oracle is popular question a good troubleshooting routine is
connect from sqlplus on the database
connect with sql developer from your client pc
then try connecting through Visual Studio.

Install oracle client 32 bit on Windows Server 2012 64 bit

I have installed 64 bit oracle(11.2g) on windows server 2012 64 bit.
When I try to install 32 bit oracle client on windows server 2012 64 bit, I get only the following directories in my install.
cfgtoollogs
install
inventory
jdbc
light
odbc
rdbms
Any suggestions please?
Why do you think that's a problem? You're installing the client not the entire database. The client install is a minimal install consisting of basic libraries required to connect to the database

Informix ODBC driver exception in Windows 2008

I have .NET 4.0 project with Informix 64 ODBC driver connection works fine at my local( which is windows 7) but when I deploy the project on server which is windows 2008 (64 bit version) with Informix ODBC driver(64 bit version) then application throws exception
Unable to find an entry point named 'InterlockedIncrement' in DLL 'kernel32.dll'.
I already read thread about the same error but no help.
I would appreciate help in this.
I was actually using 32 bit version instead of 64 and it was working because I set platform target to Any CPU in project settings so it was targetting 32 bit version. When I changed to 64 then exception on server is resolved. Also I added PATH environment variable as %INFORMIXDIR%\bin and
%INFORMIXDIR%\bin\netf20.

Unable to connect the Oracle server on 64 bit machine through ASP.NET on 64 bit machine

I am new to Oracle..and i am working on a ASP.NET Application whose backend is Oracle 11g.
I have 2 Machines for development. One is the Database Server(Windows Server 2008 R2) and second is the Application server(Windows 7).
I have installed a Oracle server 11g standard edition on Database server machine.
I have installed the Visual Studio 2010 and oracle 11g client on the Application server.
Now i am able to connect the oracle database server through the Application server using Toad.
But when i try to connect the database server through the ASP.NET 4.0 Application, then i am unable to connect the oracle and get the following error...
Attempt to load Oracle client libraries threw BadImageFormatException.
This problem will occur when running in 64 bit mode with the 32 bit
Oracle client components installed.
I have tried to set the Target Platform to x64 , but still it didnt work...
Any Help/Suggestions will be appreciated....
Thanks in Advance.....
The issue seems to be exactly what it says. Looks like the Oracle Client you have installed is a 32-bit Oracle client. Download and install the 64-bit version of Oracle client.

Oracle 11G and Toad

I installed trail version of Oracle 11g 64 bit on my laptop. I installed Oracle 10.6.1.3
and it is giving me an error saying Oracle 32 bit database not found?
I am new to Oracle and wondering whether there is a 64bit Toad? Also if Toad doesn't work what should I do to learn Oracle with the installed 11G version is there a different IDE.
I appreciate your help.
Thanks
I use Oracle SQL Developer: http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index-098778.html
There are Win-32, Win-64, Linux, and Mac OS X versions available.

Resources