11
Nov
09

Oracle Connection from SSIS – ORA-06413: Connection not open.

This is one of those errors which you have no idea how to solve, and you think that all is lost and there is nothing you can do about it.  And then you decide to Google – and all is well.

Anyway,

this is how I ran into this error:

Scheduling a SSIS (SQL Integration Services) job with SQL Server Agent which involves connecting to Siebel backend (Oracle), I first had to change from SSIS job to CmdExec to use 32 bit version of DTExec (also required of you are using 32 bit Oracle Drivers – or any other 32 bit libraries in your SSIS).  (Dont forget to add SERVICE_NAME(s) etc to tnsnames.ora file and point to it in system environment variable – TNS_ADMIN etc..).  Everything looked good and ran it and got this error:

ORA-06413: Connection not open.

what does this error mean:

After searching online I found out that Oracle Provider cannot handle parenthesis in the file path for the apps connecting to the provider.

how did i solve the issue:

Originally my 32bit dtexec statement was:

“D:\Program Files\MICROSOFT SQL SERVER (x86)\90\DTS\Binn\DTExec.exe” /SQL “\BITS\[PackageName]” /SERVER [ServerName] /MAXCONCURRENT ” -1 ” /CHECKPOINTING OFF /REPORTING E

Then I changed it to:

“D:\Program Files\MICROS~1\90\DTS\Binn\DTExec.exe” /SQL “\BITS\[PackageName]” /SERVER [ServerName] /MAXCONCURRENT ” -1 ” /CHECKPOINTING OFF /REPORTING E

This resolved the issue but is just a temporary workaround.  I didnt come up with the solution, I found had to search google, thanks to the following links:

More info:

http://social.msdn.microsoft.com/forums/en-US/sqlintegrationservices/thread/ab662d63-6385-4f73-b27f-d526048f601f/

http://phil-austin.blogspot.com/2008/08/ssis-and-oracle-providers-another.html

Hope this was useful!

Advertisement

0 Responses to “Oracle Connection from SSIS – ORA-06413: Connection not open.”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Elements of Life: Sameer & Samreen’s Blog

Basically, anything goes on this blog, as each post is an element that either touches us ever so lightly, creates a rumble, or constitutes an impact. These are the nooks and crannies that are essential to our lives and essentially complete who we are. With each post we ask that you...
Read, Listen, Observe.
Think, Analyze, Understand.
Reflect, Altercate, Discuss.

Adsense

Top Rated

 

November 2009
M T W T F S S
« Oct   Dec »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Follow

Get every new post delivered to your Inbox.