Connecting to Oracle thru Excel 2013 - oracle

While connecting to Oracle thru Excel 2013, i am getting below error. Oracle is installed on Remote Machine. Please advise how to move forward. Do I need to install something on my local machine?
Thanks
Error
The provider being used is depracated System.Data.OracleClient requires Oracle client software version 8.1.7 or greater

you need do what the error says: install Oracle client
link to Oracle client 32bit
link to Oracle client 64bit

Related

Can't connect to Oracle server from my machine using Microsoft's SSMA for Oracle tool

I'm trying to connect to Oracle 9i database from my machine (Windows 7 x64) using Microsoft's tool SSMA for Oracle v7.6.0 but getting the following error :
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
A quick search on the Internet shows that this error message is quite generic accross Microsoft products which can connect to Oracle databases. I have no idea which Oracle software should I install, and how to configure SSMA so as to be able to use it.
How can I solve this issue ?

connect with oracle database through visual studio 2010

I have installed oracle database 11gR2 and visual studio 2010 32 bit. Then I tried to install odac for oracle client 11.2.0.1.2. It gives this error.
"Oracle Data Access Components for oracle client 11.2.0.1.1 can only be installed over and existing Oracle client 11.2 Hoeme. Use Oracle Data Access Components for Oracle server 11.2.0.1.0 to install in Oracle server 11.2.0.1.0 Home."
I can't understand what to do next.Hope your helps...
thank you.
When you install, choose a new Oracle Home directory with the client. If you want a step by step guide how to do this, follow this tutorial:
http://docs.oracle.com/cd/E17781_01/appdev.112/e18751/installation.htm#CACBIDHI

Connecting Excel 2010 VBA to Oracle using 11g client

I have an Excel macro that I have used to connect to Oracle 10g just fine.
I've brought that sheet over to a PC with the Oracle 11g 64-bit client installed, and Excel 2010, and now it doesn't work. I get an error along the lines of
"Microsoft ODBC For Oracle
The Oracle(tm) client and networking components were not found"
Help?
Using the 32-bit client worked.
:)

Oracle ODBC - missing drivers?

I installed
ODAC 11.2 Release 3 and Oracle Developer Tools for Visual Studio (11.2.0.2.1)
from http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
but i still do not see Oracle driver in the ODBC Manager... please help.
i checked the ODBC Drivers in the Registry, and only found SQL there... maybe i downloaded the wrong thing? someone please point me in the right direction.
Call "c:\windows\SysWOW64\odbcad32.exe" from the start/run box or from the command prompt, so
the drivers are more likely to appear. I´ve been through similar problems with Oracle Instant Client (basic and ODBC) 32-bit driver not appearing at the ODBC Admin Window. I was able to configure a Data Source to Oracle 11g Express by calling "c:\windows\SysWOW64\odbcad32.exe" this way.
Regards.
I can't access the page you referenced to read about it, but to install the Oracle ODBC driver you can install the Oracle Instant Client. This page gives some good instructions on how to do it. Once the instant client is installed, the Oracle ODBC driver should show in the ODBC Manager. Note that you do not need a full client install to use the ODBC driver.
Run cmd with elevated privileges to install odbc_install.exe.

Oracle Data Access Components and Visual Studio connection problems

I've created an empty console application in Visual Studio 2010 and I'm attempting to add an Oracle (10g XE ) Data Connection via the Server Explorer. I'm using Oracle ODP .NET as the connector and I get the following error:
ORA-12560: TNS: Protocol Adapter Error
I can access Oracle without issue via the web interface or a console, but continually get this generic connection error in VS. I'm using the default installation of Oracle XE and running it locally.
Any suggestion on how to get this set up correctly ? Every tutorial I find works on the understanding that this connection succeeds. As such I'm struggling to find where to begin to troubleshoot. I'm comfortable with VS2010, but new to the way Oracle does things with their DB.
EDIT 1
While troubleshooting I've found this only happens with the Oracle Data Provider for .NET. Using the .NET Framework Data Provider for Oracle I am able to successfully connect.
EDIT 2
I cleaned up everything and installed 11g XE and the ODAC tools again and continue to get the same message. I realize the error is somewhat generic, I'd be happy to post more information if anyone thinks it helpful. The database is run locally, I can't imagine what kind of 'configuration' an express database would even need...
EDIT 3
The ODAC tools appear to install a 'production' version of Oracle 11 instead of the BETA version that I installed first. Almost appears as if the tool is installing another database ? I also appear to have two ORACLE_BASE locations and two TNSNAMES in what appear to be very similar folder hierarchies. Perhaps a more straightforward tutorial is the answer, Oracle's isn't very descriptive.
Oracle 10g XE seemed to be the problem. A full install of 11g (Full, not Express) took care of the problem entirely.
From here:
Possible fixes for the TNS-12560
include:
Get the latest patches for the SQL*Net client software.
Check your $ORACLE_HOME and $Path variables.
Check File permissions on the PC client.
Ensure that TNS_ADMIN is set correctly.
Check for firewall issues.
Check that the Windows database service is started. Verify teh
ORACLE_SID parameter is set correctly
in the registry.
Wow. I finally got this syntax to work.
I'm a Sql Server guy. I used Oracle back in the da day.
But I'm trying to do some Entity Framework and I said "You're not going to bed until you get Visual Studio 2012 and a edmx file to talk to Oracle.
Geeze.
Here is what I came up with:
Data Source:
Oracle Database (Oracle ODP.NET)
Data Source Name:
localhost:1521/orcl
User Name:
SYSTEM
change the default data source name to localhost.

Resources