Cannot register Sybase 15 ASE OLE DB driver on Windows 7 - oledb

I am trying to get the Sybase 15 ASE OLE DB driver set up on my Windows 7 machine. I already have the Adaptive Server Enterprise driver listed in the Drivers tab of my 32-bit ODBC Data Source Administrator (C:\Windows\SysWOW64\odbcad32.exe).
I tried to re-register the DLL with the command regsvr32 sybdrvoledb.dll and with C:\Windows\SysWOW64\regsvr32.exe sybdrvoledb.dll from a command prompt running as admin, and in both cases I get back "DllRegisterServer in sybdrvoledb.dll succeeded" but when I check in the ODBC administrator the driver is still not listed. Is there another way to get the ODBC administrator to recognize the OLE DB driver?
My goal is to be able to create the System DSN named ASEOLEDB that uses the OLE DB driver. I have tried uninstalling and reinstalling Sybase 15 to see if ASEOLEDB would be created automatically and it is not.

Try launching C:\Windows\SysWOW64\odbcad32.exe which will show you the 32 bit drivers. The other ODBC administrator which you're probably launching is located in C:\Windows\System32\odbcad32.exe

Related

Connect to a ODBC DSN installed on a server

I am developing an application in Delphi 10.2.3 which connects to a Firebird database installed on a machine running Windows 2016 Server. The application also connects to QuickBooks Online using a third party ODBC driver. Since this application must be accessed by 12+ users in my company, it will not be cost effective to purchase and install individual ODBC drivers for each user.
The provider of the ODBC driver has a version which can be installed on a server. Is it possible to configure an ODBC DNS connection on the server which I can access from network clients? If not, can anyone suggest a workaround.
Server vs Workstation ODBC driver usually has to do with licensing not connection method. It is always running on the same machine as the software using the connection.
Web application used by many users running on a server connecting through an ODBC driver = server licensed version of the driver.
User loading data into Excel on their computer through an ODBC driver
= client / workstation licensed driver.
Some databases, for example SQL Server, can do a database link through an ODBC driver. This is linking / exposing another database to querying from a host database server. This would allow you to share one server licensed driver. The clients would connect to the host database.
One such driver is DevArt's ODBC Driver for QuickBooks which has a help topic on creating a linked database and testing it in SQL Server Management Studio / SQL Server: Using in Microsoft SQL Server Management Studio (SSMS). Might not be applicable if each user needs to use different credentials for the QuickBooks connection.

DBX Error in Delphi Berlin 64bit compiler: Driver could not be properly initialized. When connecting to a Oracle 12c DB Server

I got the stopper error below in my apps. I used Delphi Berlin 64bit compiler. And also used the dbxora.dll as dbxpress driver default from embarcadero. Connected to Oracle 12c DB server using TSQLConnection component.
DBX Error: Driver could not be properly initialized. Client library may be missing, not installed properly, of the wrong version, or the driver may be missing from the system path.
How can I fix this?
A DB Express driver is not always sufficient on it's own to connect to some data sources. For certain data sources (most of them in fact) you also require the client drivers for that data source, usually provided by the database vendor themselves.
Oracle is one of these.
As well as the DB Express driver you also need to install the Oracle Client software provided by Oracle. You also need to ensure that you install the correct version.
i.e. in your case since you indicate you are building a 64-bit application then you will need the 64-bit Oracle client.
If you (or your intended users) already have the 32-bit Oracle client installed then you might consider building your application as a 32-bit application instead, unless you absolutely need 64-bit capabilities.

Pervasive SQL v.11 ODBC Client Interface

I have Pervasive PSQL v.11 server but no PervasiveClient Interface driver on it. I looked for answer and what i found is to install Pervasive Client on server but i am afraid that it may mess the server or configuration. So I am looking for any way to install that driver without installing client application.
When you install the Pervasive Server, it installs the client as well. You should have the Pervasive Client Interface. Make sure you are using the 32 bit ODBC Administrator. It is located in the %systemdrive%\windows\syswow64\odbcad32.exe. The ODBCAD32.EXE in %systemdrive%\Windows\System32 is 64 bit. I know it seems backward but that's how Microsoft did it.
If you are seeing just the "Pervasive ODBC Interface", you are using the 64 bit ODBC Administrator.
Another option would be to use the Pervasive Control Center. It can create the 32 bit DSN when creating the database. It also has menu options (under Tools) for the 32-bit and 64-bit ODBC Administrator.

Architecture mismatch between the Driver and Application in RoR

I am getting this error 'The specified DSN contains an architecture mismatch between the Driver and Application' while trying to generate a scaffold to test database connectivity.
I know ,if I'm using a 64-bit windows version the default is to use the 64-bit ODBC version.
I am now trying to run the application with Windows 7 64 bit. I have configured the 32-bit ODBC Access drivers instead of the 64 bit drivers by running the ODBC driver setup page at:
C:\Windows\SysWOW64\odbcad32.exe
How can I access 64-bit ODBC version. It is not available in my system. Can I have download?
I haven't much experience with this however the data sources in "Control Panel > Administrative Tools > Data Sources"
are different than C:\Windows\SysWOW64\odbcad32.exe and may me the 64bit version you're looking for.

How to connect to a legacy Informix database?

I have to connect my app to a customer's Informix 7.2 legacy database.
From what I was able to find out, in theory there should be a database service running on port 50000. The problem is that I cannot find any database service in the Operative System.
So far I'm only able to use dbaccess and perform queries from the command line.
I would like to use a database driver (such as http://code.google.com/p/ibm-db/) so my app can connect and query the database using a cursor, but since I cannot find any database service, apparently I can't...
Am I missing something here? Are there options I'm not considering?
Is it possible to have an Informix database in which the only interface is dbaccess?
See connection strings for Informix
If you use Python you can look at: Python wiki but I would like to extend it a little.
If you work on Windows and have Client SDK then there should be ODBC driver installed on your machine. There is also Linux and other unix versions of such client software. If you install that you can use ODBC to connect to database. On Windows you can use Active State Python 2.6 with win32 extensions which has odbc module included. On other Python implementations you can use win32 extensions or other ODBC module such as mxODBC.
I work also with Jython where I use both JDBC and ODBC drivers. You can see this "in action" in my SO questions like: Problem with Informix JDBC Money format
BTW, if you want to connect to a remote legacy Informix database using Python from a Mac, pypyodbc-informixcsdk could be your only (free) choice. Check this wiki.
On a Windows box, pyodbc + Informix Client SDK + ODBC do the job nicely.

Resources