?
Solved

DTS Connection to Oracle Error.

Posted on 2003-02-28
2
Medium Priority
?
344 Views
Last Modified: 2013-11-30
I have an intermittent error with a SQL200 DTS package that makes a connection to an Oracle server:

Error: -2147467259 (80004005); Provider Error: 0 (0)
Error string: Oracle error occurred, but error message could not be retrieved from Oracle.
Error source: Microsoft OLE DB Provider for Oracle

The package is executed within a scheduled stored proc.
SET @strSQL = 'master.dbo.xp_cmdshell "dtsrun /S ' + @Server + ' /E /N dtspackagename"'

When the package does fail, I can open it up in the package designer, open up the transformation task and hit the destination tab.. Boom, the same error as above. I then open the connection properties/properties button and test the connection(Test runs fine), and everything works the next couple of times the package runs.. But not for long.

BTW- SQLSERVERAGENT is running under an admin account, SQL 2000 sp-2 and using MS OLE DB Provider for Oracle for a connection/within the package.  Oh, and MDACVer 2.71.

I'm missing something, but what? Anybody have a similar problem?  This is the 4th site that I've posted this question.

Best Regards
C. Kakara
Cincinnati, OH
0
Comment
Question by:ckakara
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
SQLMonkey earned 200 total points
ID: 8050236
I had the same problem and found that using Oracle's driver is better then Microsoft's.  If you install the Oracle Client Tools on your SQL Server, you will be able to select "Oracle Provider for OLE DB" when you create your DTS connection objects in the package designer.
0
 

Author Comment

by:ckakara
ID: 8106151
I've been all over the web trying to find an answer to this problem..  Thank you SQLMonkey!
0

Featured Post

Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

765 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