Solved

configure DATA LINK - Export SQL Server Data to Oracle using SSIS

Posted on 2013-12-08
3
622 Views
Last Modified: 2016-02-10
Hi experts, I am reading about this
http://www.mssqltips.com/sqlservertip/2011/export-sql-server-data-to-oracle-using-ssis/

but I can not connect
what username and password should be?

XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Enrique-PC)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE)
    )
  )
user.png
dataLINKproperties.png
0
Comment
Question by:enrique_aeo
3 Comments
 
LVL 42

Assisted Solution

by:EugeneZ
EugeneZ earned 166 total points
ID: 39705755
what the error did you get when try system?
what is login working when you access to oracle from sqlplus or sqldev apps?
use what you use to access oracle (you should now uid\pwd) - or ask DBA
0
 
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 167 total points
ID: 39705843
Hi,
if you can ensure that the username and pwd are good - I have had once the same issue.
This was related to an older Oracle Client installation (on the SQL server) and a newer version on the Oracle system where some enhanced security configurations have been enabled - therefore no one with the older client dlls could logon.
Can you check the Oracle client / data access components version on the SSIS system?

Thanks and HTH
Rainer
0
 
LVL 26

Accepted Solution

by:
tigin44 earned 167 total points
ID: 39708218
Hi,
The important point in your case is the oracle drivers used while connecting to oracle server. Which drivers are you using? Are you trying to connect via direct connection like using oracle client ODAC drivers? If your machine running 64 bit, you should also install both 32 and 64 bit driver together. The SSIS packages do run 32 bit at design time but runs 64 bit at run time. Once you discover your drivers then you can construct your connection string.

XE =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Enrique-PC)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = XE)
    )
  )

is a TNS record whith the alias XE defining the connection parameters. This parameters are not enough to establish a connection,  you should also provide a user name and password.
There are many ways to supply these parameters. While constructing the connection string, by using expressions; by using SSIS Package configurations; by providing at run time via user parameters...

If you clarify the connection operation we may provide more help...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question