I'm a ASP .Net developer and I have this application that queries from a Sybase 12 database in a database server.
Previously, I had Sybase 12 Open Client in my Win XP machine and I had the Sybase ASE ODBC Driver listed in the ODBC Admin screen.
My connection string is something like this: "Driver={SYBASE ASE ODBC Driver};Database=mydb;NA=something;uid=something..."
However, a few weeks ago, our machines were upgraded to Win7.
I found out that I have Sybsae 15 Open client in my machine now and I can't find the Sybase ASE ODBC Driver in the ODBC Admin screen, so it must not be installed.
When I asked the people here responsible for the Win7 upgrade, they said that the Sybase 12 driver is no longger compatible with Win7.
How am I supposed to continue working on the application I'm developing? Is there a Sybase ASE ODBC Driver for Win7 that I need installed? I just need something that will allow my code to connect to the same Sybase 12 database as it had been doing before.
That only comes with ASE.
Related
Despite that OLE DB and ADO.NET are newer than ODBC potentially, I've heard that ODBC connections to Oracle are potentially faster within SSIS.
I'm trying to set up a simple ODBC connection to an Oracle DB in SSIS
The OLE DB / ADO.Net connections were easy. I entered the credentials and boom, connected.
ODBC proves very difficult. I'm running Windows 10 64 bit. Visual Studio 2015 (I believe the designer for SSIS was only meant to initially play with 32-bit ODBC connections). Oracle is version 12c.
So ... I did the convoluted Oracle driver install. Downloaded Oracle basic light express + ODBC. Put them in the same directory. Ran odbc.install.exe WITH admin privileges. Finally got the Oracle driver to show up in Microsoft ODBC (32 or 64, ended up downloading both eventually). I test the connection in Microsoft ODBC setup? Success!! NOOOOW. .. enter Visual studio. Set up connection --- test --- FAIL! Some cryptic error .... 127 ... the "oracle" in quora32.dll can't be found.
Are Microsoft Drivers for Oracle still available for download?
32-bit vs 64-bit
I think that the main cause of the problem is that Visual studio is a 32-bit application and the ODBC driver installed is 64-bit. On the other hand the operating system is 64-bit then it will work normally. Check the following links for more information:
ODBC Connection not appearing SSIS
Set up the ODBC Driver for SSIS
Attunity connectors
I really didn't tried connecting to Oracle using ODBC, but if your goal is to achieve higher performance then the fastest way to connect to Oracle from SSIS is using Attunity high speed connectors for Oracle that have been selected by Microsoft to be included with SQL Server Integration Services (SSIS).
Check the following links for more information:
Microsoft Connectors for Oracle and Teradata by Attunity for Integration Services (SSIS)
Microsoft Connectors by Attunity
Oracle provider for Oledb missing in VS 2015 Shell
SSIS not running in parallel with OraOLEDB.Oracle.1 Provider
As noted in various ways on this question, the VS IDE (and its typical testing environment) is 32-bit, even when installed/running on 64-bit Windows, or when building for use/deployment on 64-bit Windows. My employer has a knowledgebase article discussing this.
Also, SQL Server, SSIS, and VS are always OLE DB or ADO.NET clients; they don't actually speak ODBC directly. When you tell either SQL Server, SSIS, or VS to connect to an ODBC driver or ODBC DSN, they invisibly use the Microsoft OLE DB [Bridge] Provider for ODBC Drivers for that connection.
The easiest way to work around all this, given that you explicitly want to use ODBC, is to install both 32-bit and 64-bit variants of all OLE DB (including the Bridge Provider) and ODBC components (and any libraries on which they depend, such as OCI or Oracle Instant Client), and to configure a pair of ODBC System DSNs (not User DSNs, for several reasons), one each 32-bit and 64-bit, which are named and configured identically excepting only the driver library.
This strategy works whether you're using ODBC drivers from my employer (which might be the "12-15x faster" ones referenced previously? if so, it's important to note that Enterprise Edition "concurrent users" is about actively connected clients, not installed seats), from another third-party, or from Oracle themselves.
I have installed the vb6 and oracle 11 g client(instantclient_11_2) on windows 10.
I created one odbc connection and now trying to connect oracle db but its giving error while connecting the db using vb6 form.
Error :"Error while trying to retrieve text for error ORA-01019"
I am using the connection string like :
sconnstring = "DRIVER={Microsoft ODBC for Oracle};SERVER = servername;uid = user id;pwd= password}"
When creating the ODBC connection use ODBC 32 ...under windows\sysWow
The Microsoft ODBC driver "Microsoft ODBC for Oracle" is deprecated for ages, you should not use it anymore.
Download and install the "ODBC Package" from Instant Client Downloads for Microsoft Windows 32-bit, then it should work.
instant client for microsoft odbc is not available for Windows-10 operating system.
Then in that case for windows-10 we need to use Oracle ODBC client 12 version for odbc connection.Its working for me.
screenshot of SQL Developer ODBC connection issue to MS-Access
http://www.oracle.com/technetwork/articles/sql/o38sql-102034.html (your article at Oracle OTN)
I read the Oracle OTN article about making connections to an Access database using SQL Developer, but I can't get it to work.
The error below shows that the default JDBC/ODBC bridge driver or data source name cannot be found.
Status : Failure -Test failed: [Microsoft][ODBC Driver Manager] Data
source name not found and no default driver specified
The Access
database exists, and the system tables in the access database are not
hidden.
I am using SQL Developer v4.0.3 that uses JDK 1.7. I know that SQL Developer 4.1 uses JDK 1.8, and Access connections are not supported in that latest version of SQL Developer.
I also installed both JDK 1.6 for 64bit and 32bit computing, and changed my system path setting to use of these versions. I have tried both 1.6 versions, without success.
It's my understanding that SQL Developer uses the JDBC/ODBC Bridge and requires no other configuration. A third party JDBC driver is not required to connect to Access.
How do I configure SQL Developer to locate the JDK v1.6 and use the appropriate version (JDK 1.6 64bit or JDK 1.6 32bit) to connect to an Access Database? I've been working on this all day and I'm stumped.
64bit MS Access ODBC Drivers
The solution to enable SQL Developer v4.0.3 to connect to a MS Access database was to install the 64bit ODBC Drivers from Microsoft. I downloaded the Access Runtime Engine version 2010 which works with an Installed 32 bit version of MS Access (and other 32bit 2007 office products)
The following links were helpful:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=13255
The ODBC drivers are coupled with the MS Access runtime engine.
I am trying to connect to oracle using excel macro. My connection string is as follows:
*"Driver={Microsoft ODBC for Oracle}; CONNECTSTRING=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=edw))); uid=system; pwd=oracle;"*
OS : Windows Server 2008 R2 Enterprise
MS Office Professional Plus 2013
Could you please help me.
Thanks in advance!!!
The driver does not exist, try Driver={Oracle in OraDb11g_home1}
However, ODBC exist for 32 bit and 64 bit. Which ODBC Data Source Administrator did you start (they look the same)?
To launch 64-bit ODBC Administrator use %SystemRoot%\System32\odbcad32.exe
To launch 32-bit ODBC Administrator use %SystemRoot%\SysWOW64\odbcad32.exe
The architecture of ODBC driver must match the architecture of your client, I assume this is MS Office which is most likely the 32 bit version.
ODBC driver for Oracle can be provided by Microsoft (Driver={Microsoft ODBC for Oracle}) or by Oracle (Driver={Oracle in OraDb11g_home1}, driver name varies). 64-bit driver is provided only by Oracle, the Microsoft driver is deprecated.
NB, I never used CONNECTSTRING=..., try Server=... instead.
I have server under Windows Server 2003 with Oracle 10 32bit. There are several ODBC data sources configured in ODBC Data Source Administrator.
Now I need to move all that system to Windows Server 2008 R2 x64.
I've installed OS, Oracle server 12c x64, Oracle client 12 x64.
Now I need to configure my ODBC data sources, but there is no Microsoft ODBC for Oracle driver.
Where can I find this driver to configure ODBC data source?
(I've tried 32bit tool from SystemWOW64, it has this driver but shows me exception "The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle version 7.3 (or greater) clien costware installation." As far as I could say it looks for 32bit client, but there is no such)
"Microsoft ODBC for Oracle" does not exist for 64 bit. Microsoft provides only a 32-bit version.
You have to download and install the driver from Oracle: ODBC
Developer Center or
64-bit Oracle Data Access Components (ODAC) Downloads
The 32-bit ODBC driver (no matter if from Microsoft or from Oracle) does not work together with an 64-bit Oracle Client, the architectures have to match.