Unable to connect to oracle source with SSIS connection manager
I have oracle drivers installed and I am trying to connect to oracle database by using SSIS with oracle provider
Oledb but receiving error as:
Test connection failed because of an error in initializing provider. No error message available, result code: E_UNEXPECTED(0x8000FFFF).Any suggestions
Thanks..
http://sqlblog.com/blogs/jorg_klein/archive/2011/06/09/ssis-connect-to-oracle-on-a-64-bit-machine.aspx
Solution
Download the Oracle 11G full client.
Install the 32 AND the 64 bit version of the
11G full client (Installation Type: Administrator) and reboot the server afterwards. The 32 bit version is needed for development from BIDS with is 32 bit, the 64 bit version is needed for production with the SQLAgent, which is 64 bit.
Configure the Oracle clients (both 32 and 64 bits) by editing the files
tnsnames.ora and
sqlnet.ora. Try to do this with an Oracle DBA or, even better, let him/her do this.
Use the "Oracle provider for OLE DB" from SSIS, don't use the "Microsoft Provider for Oracle" because a 64 bit version of it does not exist.
Schedule your packages with the SQLAgent.
Arthur
MyBlog
Twitter
Similar Messages
-
Error when connecting an oracle DB with Integration gateway
I followed the steps from the blog How to connect an Oracle DB with Integration Gateway in SMP3 and the ojdbc was deployed successfully to SMP. Still, i'm getting "Driver class oracle.jdbc.driver.OracleDriver not found" error message when i try to test my connection. The first difference i saw when completing these steps was that I'm using SMP3 SP05, could this be the issue?
Joao D Franco Net
Could you share below information:
Can you cross check if deployed driver are OSGi enabled? Refer this.
Can you share screenshot of the destination settings and error ?
note: The blog you followed is referring to SP03 (1st GA of SMP3)..You should not have any problem in connecting to Oracle DB being on any SP.
Regards,
JK -
Cannot connect to Oracle 8i with IIOP from JDev3.1
Hi,
I have the problem of connect to Oracle 8i with IIOP from JDeveloper 3.1 when I build application with BC4J. I can connect to my Oracle 8i database with ODBC easily but failed with IIOP. Does anyone here has the same experience?
Any help will be appreciated. Thank you.
nullHi Daniel:
I've solved the problem mentioned above. It requires two settings:
I) Enabling Multithreaded Server Support for IIOP Clients;
II) Listener's listening to port 2481
Of course you should have installed JServer into your Oracle 8i database.
In your init.ora file, you should have the following two lines:
mts_dispatchers = "(PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)"
mts_dispatchers = "(protocol=TCP)"
To confirm this you may use SQLPLUS to list the parameters of the database setting:
mts_dispatchers string (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer), (protocol=TCP)
mts_servers integer 1
And in TNSnames.ora file the setting should like this:
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = wangsvr)(PORT = 2481))
All these two settings ( init.ora and tnsnames.ora ) can be done with "Database Configuration Assistant" and "Net8 Assistant"
I solved my problem this way, your problem may not the same but anyway you may try it.
null -
I met an error when connect to oracle db with tag sql:DataSource
When I use the jstl tag <sql:DataSource> connect to oracle db ,I met an error as :
javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
My Source code as follow:
<sql:setDataSource var="dataSource" driver="oracle.jdbc.driver.OracleDriver" url="jdbc:oracle:thin:@192.168.1.220:1521:gzserver" scope="request" user="lnmisscall" password="lnmcadmin"/>
<sql:query dataSource="{$dataSource}" var="data">
I am sure the connection information are right (I can connecte to the db with them in jsp & java bean) , and I have put the oracle's jdbc driver under the tomcat/common/lib folder,
Please help me to fit it ,thanks.Sabrina,
Its all dependent on the application and whether its 32-bit or 64-bit. For example, SSRS reporting services 2008 R2 is a 64-bit application, so load the 64-bit oracle client there for report execution. Report builder is a 32-bit client application,
assuming its running on a different machine, so load the 32-bit oracle client on any user computers using RB 3.0 and working with Oracle. If the computers are one in the same, then do as the post above says, load both... -
Gettig error connecting to Oracle DB with weblogic 6.1
I am getting this error when I try to make a connection to an Oracle817 DB.
I am using Oracles drviers (classes12.zip)
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connection pool
"genPool" Test table must be specifed for genPool with 'test connection on
reserve' or 'test connection on release' or 'refresh minutes' set higher
than 0.>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Source named
weblogic.jdbc.jts.genPool for pool genPool>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
pool genPool requested by user system>
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
creation: weblogic.common.ResourceException:
DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
Pool (connection or multi) (genPool)>
I have created a connction pool called genPool,
set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
driver class name = oracle.jdbc.driver.OracleDriver
Properties:
user=name ** where name is user
password=xx **where xx is password
dll=ocijdbc8
protocol=thin
I created the Tx Data Sources with
name = weblogic.jdbc.jts.genPool
jndi = weblogic.jdbc.jts.genPool
poolname = genPool
Can anyone help me through this, it would be a great help
Rafid WahabOther solution:
on refresh period, default value is 1 minute, force this value at 0 and your connection
is ok.
Eric
Joseph Weinstein <[email protected]> wrote:
Redo the pool definition, and set 'test connection on reserve'. Don't
set 'test connections on release', and leave refresh minutes alone.
add a test table. DUAL is perfect for that. Everything else seems
fine.
Joe
Rafid wrote:
I am getting this error when I try to make a connection to an Oracle817DB.
I am using Oracles drviers (classes12.zip)
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
"genPool" Test table must be specifed for genPool with 'test connectionon
reserve' or 'test connection on release' or 'refresh minutes' set higher
than 0.>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
weblogic.jdbc.jts.genPool for pool genPool>
<Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
pool genPool requested by user system>
<Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
creation: weblogic.common.ResourceException:
DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
Pool (connection or multi) (genPool)>
I have created a connction pool called genPool,
set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
driver class name = oracle.jdbc.driver.OracleDriver
Properties:
user=name ** where name is user
password=xx **where xx is password
dll=ocijdbc8
protocol=thin
I created the Tx Data Sources with
name = weblogic.jdbc.jts.genPool
jndi = weblogic.jdbc.jts.genPool
poolname = genPool
Can anyone help me through this, it would be a great help
Rafid Wahab -
Connect to oracle database with php script
Hello!
How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
"Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
Where can I get these libraries from?
Who knows more about the issue?
Thanks a lot for your help!
Martin
nullHello
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
Hello!
How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
"Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
Where can I get these libraries from?
Who knows more about the issue?
Thanks a lot for your help!
Martin<HR></BLOCKQUOTE>
Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
These are the steps... Put everything working is a little more complicated...
FS
null -
How Connect to oracle database with java
i have trouble with my program
i use oracle 8i to my database and java for interface
this mycode :
import java.sql.*;
class TestThinApp {
public static void main (String args[])
throws ClassNotFoundException, SQLException {
Class.forName("oracle.jdbc.driver.OracleDriver");
// or you can use:
// DriverManager.registerDriver(
// new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin:@dssw2k01:1521:orcl","scott","tiger");
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery(
"select 'Hello Thin driver tester '||USER||'!' result from dual");
while(rset.next())
System.out.println(rset.getString(1));
rset.close();
stmt.close();
conn.close();
i have trouble , becouse i can connect my database with java (JDK)
if any one can help me pls?
arifPLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
Connecting to Oracle 9i with Win CE application
Hello!
I want to connect to Oracle 9i from an application running on Windows CE. This application has to be programmed using C++.
Is that possible? Are there any C++ APIs, Client-Dlls or ODBC drivers for Windows CE?
Best regards,
Andreas KämpfHi!
Not yet, but the Windows CE app isn't supposed to run on a mobile device. I'm using Win CE as RTOS. Therefore I need a light, high performance connection to the Oracle DB. I don't like the idea of middleware between the RTOS and the DB.
Isn't there a way to connect to Oracle with a good performance?
Best regards,
Andreas Kämpf -
How to load date field from a remote Oracle DB with DB Connect
Hi,
Does any one have experience extracting Date field from a remote Oracle database through DB Connect to BW? I am experiencing data format issue. The extracted data shows '04-Oct-0' for '10/4/05'. It works fine if I create a view in Oracle database to preformat the data to '20051004'. But, I am not allowed to create view in Remote DB.
Any suggestion is very appreciated.
Regards,
FrankYou have to change it to a varchar2 field. YYYYMMDD. I do not know of any other option.
-
Cannot connect to oracle db with - ensureMemberAccess(Unknown Source) error
Hi there!
i'm trying to run a simple applet to check connection with the oracle db:
import java.sql.*;
import oracle.jdbc.driver.*;
class JDBCVersion
public static void main (String args [])
throws SQLException
// Load the Oracle JDBC driver
DriverManager.registerDriver
(new oracle.jdbc.driver.OracleDriver());
System.out.println("registered!");
Connection conn = DriverManager.getConnection
("jdbc:oracle:thin:@host:1521:sid","user","pass");
// Create Oracle DatabaseMetaData object
DatabaseMetaData meta = conn.getMetaData ();
// gets driver info:
System.out.println("JDBC driver version is " + meta.getDriverVersion());
I'm not getting any errors during the compilation and my CLASSPATH is ok pointing to the ojdbc14.jar file, i'm running j2sdk1.2.4_12 and the error
when I'm trying to load applet is:
java.lang.IllegalAccessException: Class com.opera.PluginPanel can not access a member of class JDBCVersion with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at com.opera.PluginPanel.run(PluginPanel.java:406)
at java.lang.Thread.run(Unknown Source)
What is wrong???
Any help would be very appreciable...
Thanx.thank you for your valuable reply, but could you add
some more additional information?Since I don't write applets and don't know anything additional, no.
You might try posting your question in a forum that deals with applets and/or the Java security model. Or maybe if you wait long enough, someone who knows both JDBC and applet security will happen along and decide to answer your question. -
Trouble to connect to Oracle Lite with JDBC
Hi.
I have installed Oracle Lite 9i on my PC (Win 2000 Pro). Then I connected an HP Jornada 525 (WinCE 3.0) and with
ActiveSync I installed the Oracle Mobile Client. Using MSql, I created some tables and did some data inserts - Oracle
is working fine on the Pocket PC. The next step was to create an Java application that will run on the Jornada to
connect to this database and edit its data. Here is the initial source code:
import java.sql.*;
public class JDBCEX {
public void JDBCEX () {
public static void main(String args[]) {
Connection conn = null;
Statement stmt = null;
ResultSet retset = null;
try {
Class.forName("oracle.lite.poljdbc.POLJDBCDriver");
conn = DriverManager.getConnection("jdbc:Polite:Polite","system", "manager");
catch (Exception e) {
System.out.println(e);
System.exit(0);
This works fine on my PC, but in the Pocket PC it gave me: java.sql.SQLException: Internal Error. This after I expanded
the jar files, 'cause before it tells me that ther is no oljdbc40 on the shared library path. I adjusted the classpath on the
registry, but i does not have any impact ... There is no file with name oljdbc40, only JARs olite40 and olitejdbc40. I installed
olitejdbcpj40.jar, and setting this library leads to the same error above.
What could be wrong? Do you have any tutorial or can you list all steps necessary to bring this working?
ThanksIf you're attempting to use the ODBC API directly, have you downloaded the ODBC SDK from Microsoft? That will include some sample code, which is a great starting point. So far as I'm aware, you shouldn't need to configure anything in Borland C++ that you don't have to configure in any other C++ compiler to use ODBC.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Windows 2008 R2 ODBC connect to Oracle Linux with 11g db
Hi
i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
server like this
data source description: vSphere 64
description: ----
TNS Service Name: VCDB
user id: system
then i go to TEST connection
Service Name: VCDB
user name: system
Password: mypassword
so i copied the tnsnames.ora from the server to the client
then i get
ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
here´s my tnsnames.ora from the client
VCDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = vcdb.vmware)
i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 20-SEP-2010 20:47:45
Uptime 0 days 0 hr. 1 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
Services Summary...
Service "vcdb.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
Service "vcdbXDB.vmware" has 1 instance(s).
Instance "vcdb", status READY, has 1 handler(s) for this service...
The command completed successfully
but it´s not possible to create a connection to the server. My enviroment variables are this
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_HOSTNAME=vc-db1.mydomain
ORACLE_SID=vcdb
ORACLE_TERM=xterm
so i think on the server site everything is correct. How could i establish a connection from the windows client
to the linux database server. Or is ODBC the wrong method for this?
Kind regards
ACID25
Edited by: 796038 on 20.09.2010 12:12"connectstring" is not a valid attribute with Oracle's ODBC driver, so since there is no datasource attribute specified, the app is trying to connect to a local database, and since you don't have one, you get 12560.
To resolve the problem, pass DBQ= instead of CONNECTSTRING=
http://docs.oracle.com/cd/B19306_01/server.102/b15658/app_odbc.htm#i1093897
Greg -
Connect to oracle database with Oracle.DataAccess.Lite_wce.dll
With Oracle.DataAccess.Lite_wce.dll i want to ceonnect to oracle database.
I try like:
OracleConnection conn = new OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=baza1)));User Id=xx;Password=xx;");
conn.Open();
but it said "S1000[POL-3023] the database does not exist".
What i am doing wrong?what client are you using if you are using windows mobile then
use
Oracle.DataAccess.Lite.dll on the handheld
connection string is "dsn=databasename;uid=SYSTEM;pwd=userpassword"
the username is always system, the passw0rd the the user password of the specific user that the handheld is created for, the database name depends you can see it in the device->orace->odbc.txt file
if your re on c# then you should write
using Oracle.DataAccess.Lite;
LiteConnection OraCon;
OraCon = new LiteConnection(connectionstring);
OraCon.Open(); -
I am unable to connect to Face Time with WiFi connection?
I am unable to connect to friends with Face Time. There business premises has WiFi they connected to each other to show how it worked. When I tried to connect
One after the other neither would connect to my iPhone 4. I tried again from my home with my WiFi connected but still no connection possible. Spoke to my network operator they explained it is nothing to do with network contact Apple.This problem is getting me down - Blue Jay headphones work perfectly with every other device and computer we own but cannot be found by our MB Pro (late 2011). This same MB is very difficult to pair with 2 other Bluetooth devices - taking several attempts each time and providing poor sound quality.
-
Connect to oracle database with visual studio 2005
Hi, i have a oracle database called orcl (10.2). I am trying to connect with this database with visual studio 2005. I do this:
In Server Explorer, right click in Data Connection and click in add connection.
I choose oracle database and oracle provider.
In server name I write the name of my computer, and i write the user and pass of the data base (sys or system) but it gives me this error: "ora-12514 listener doesnt know the asket for service in the description one of connection" (translated of Spanish)
what i have to write in server name? host, host:port, LISTENER,.... what?
ThanksSometimes, you can check names using from the command line:
$> tnsping <orcl>
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 10-ENE-20
06 09:01:04
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521))
Realizado correctamente (0 mseg)
$>
Maybe you are looking for
-
Problem with Time Capsule after upgrading to firmware 7.6.1
I am currently using Time Capsule Firmware 7.6 and just upgraded to 7.6.1. After the upgrade, my IPad 2 cannot access iTune, App Store and Safari cannot access any web-site. Email and other Apps which require Internet access have no problem with conn
-
My ipad wont charge or sync to my macbook - help?
I have had my ipad for 1 month now, all of a sudden it does not want to charge or sync. When i connect to the supplied 10v cable there is no icon change to say 'charging', i have tried resetting, turning on and off etc and still does not work. When i
-
ESS Who's Who - remove link from Org Unit
In Who's Who (web dynpro version for ERP2004), I want to display Organizational Unit in an employee's detail. I do NOT however want the link to the org chart from this field to be available. Is there a way to remove the link from the Organizational
-
Create/Access DB Connection Node via Ext SDK API
How do I create/access a database connection in Jdev programmatically? I found the top level Connections folder: oracle.ide.model.Connections in Ext SDK. The documentation says "Top level IDE level Connections Node. Under this node is where various d
-
Tablet Issue... Return to BB or contact manufacturer for RMA?
Hello, I got a new Visual Land VL-110 Tablet for Christmas from BestBuy.com. It's been having some battery issues the 4 days that were starting to concern me. I've tried just about everything i could to diagnose the issue and downloaded a number of