Oracle ODI JDBC driver for SQL Server 2005 connection error - oracle

I am using Oracle ODI 11.1.1.7 version on a Windows 7 64bit machine. I want to connect to a SQL Server 2005 database using the driver com.microsoft.sqlserver.jdbc.SQLServerDriver.
I have downloaded and installed from Microsoft the drivers
Microsoft JDBC Driver 4.1 for SQL Server
and also
Microsoft JDBC Driver 4.0 for SQL Server
But I still have a connection error:
ODI-26039: Connection failed
Java.lang.RuntimeException: java.lang.IllegalArgumentException: Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
Did anyone else experience this issue?
Thank you in advance.

Kindly check this url. You need the specific driver depending upon the version of JDBC. You need to elaborate more on your question.
https://msdn.microsoft.com/en-us/library/ms378422(v=sql.110).aspx

Related

Timeout Error Connecting to Teradata Server From SSIS using Attunity Driver - "[WSock32 DLL] 10060 WSA E TimedOut"

I'm facing an issue connecting to Teradata from SSIS using Attunity connector. My environment details as follows:
Windows 2016
SQL Server 2016 (Enterprise Edition)
VS 2015
Attunity Driver 5.0
Teradata drivers installed - 15.10.05
When I run the package from the server (both via Agent as well as from BIDS) following is the error I'm getting:
"Error: There was an error trying to establish an Open Database
Connectivity (ODBC) connection with the database server. SqlState =
HYT00 Message = [WSock32 DLL] 10060 WSA E TimedOut: No response
received when attempting to connect to the Teradata server"
Is there any server level configuration or network settings, I need to enable? Any help on this is much appreciated. Thanks in advance!!

How to find driver and port number from Windows Server for Progress database 11

I'm getting an error from report:
The OLE DB provider "MSDASQL" for linked server "linkname" reported an error. The provider reported an unexpected catastrophic failure.
I'm checking to find out the installed driver and port number from the Windows server 2008 R2. I checked in "C:\Windows\System32\drivers\etc" services file, but unable to get which exact service I need to check?
My ODBC data source administrator window is listing below drivers:
1. MySQL ODBC driver
2. Oracle in OraClient 10g
3. SQL Server
4. SQL Server native client
How can I find the detailed information; what is the current driver installed on what port number ? Is the current driver installed is compatible with Progress DB ? If it's not compatible, which latest driver I need to install to make it compatible with Progress 11?
You will need to download the SQL Client Access software from Progress web site.
https://www.progress.com/support/evaluation/download-resources/download-center
Look for the SQL Client Access:

No driver found to connect to sql database file

I tried to connect my database application to a .sdf database, but there there is no sqlce driver listed there to build my connection string. can anyone suggest me a way.
can anyone tell me, from where i can download sql server ce driver, if there is any
Unfortunately there isn't any ODBC driver for Compact Edition. But you can use this to connect
OLE DB
Source: Paul Sasik

ORA-12154 error on server 2008

I'm moving a VB.NET 2010 app from a 32bit 2003 server to a 64bit 2008 server that connects to an Oracle 11g database, and am getting the following error message when executing it.
DefaultSource Error 2
ERROR [08004] [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
Here's some things I've done.
Added the TNS_ADMIN environment variable to the server.
Had server management install the 64bit "Oracle driver Oracle in OraClient11g_home1". They also uninstalled the 32bit "Microsoft ODBC for Oracle" driver.
Verified I can connect to the server using SQLPlus
Updated my connection string as I use to use the 32bit "Microsoft ODBC for Oracle"
Added the database to the ODBC System DNS, and verified the connection worked.
Here's my connection string from my config file under the node.
<add name="SCHEMA_NAME"
connectionString="Driver={Oracle in OraClient11g_home1};Dbq=DATABASE_NAME;uid=USER;pwd=PASSWORD;"/>
Any suggestions to what I can try, or what needs to be changed to get this working on the new server?
I fixed the problem by changing the way I connect to oracle. I'm using the Oracle.DataAccess reference, removing the driver reference in the connection string, and rebuilding the connection using OracleConnection and oracleCommand.

SSIS: ODBC Connection Issue in BIDS 2008

I have an oracle DB i need to talk to so i installed the drivers and added it to the system DSN Data Sources. IM ON SQL SERVER 2008 R2 64bit
In BIDS, I can see the name of the DataSource, however when i go to enter it in the connection manager I get the following error:
TITLE: Connection Manager
Test connection failed because of an error in initializing provider. ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
Any Ideas on how to resolve this?
I can connect to the Oracle DB through SQL Plus so i know i have connectivity.
Thanks!
When you installed the 11g client, I assume you did a custom install and installed the ODBC driver, right? And you set your ODBC DSN up using the Oracle Driver, not the Microsoft Driver? Did you test the DSN with the ODBC wizard?
#kevin
The Test connection failed because of an error in initializing provider. ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
this error can be resolved by using a 32 bit driver for oracle connectivity and setting the package runtime properties to set 64 bit runtime= false.
also create a odbc dsn by using the 32 bit oracle driver.on 64 bit machines search for odbc32.exe. the path for it is the following C:\Windows\SysWOW64\odbcad32.exe.
run this as an administrator and use this DSN in your SSIS package and the issue will be resolved.

Resources