July 17, 2009 at 11:11 am
Hi,
I am trying to transfer data from IBM db2 to sql server 2005 database. I ue IBM oledb driver for db2 for connecting to db2. But when i run the package starts running but during its pre-execute stage package gets cancelled. I couln't find the reason.. Can anybody help me?
Thanks.
July 17, 2009 at 12:12 pm
Hi,
Check the version of the DB2 oledb driver, it's probably an early version that is not *quite* compatible.
I remember having problems when 2005 was first released with DB2 SSIS extraction. Google "DB2 OLEDB drivers" and try to get hold of the latest one; in the end I had to buy a 3rd party driver to get it to work.
Good luck and sorry it's 4 years ago so I cannot remember much more about it than that!
Richard
July 17, 2009 at 2:02 pm
If you are in the Enterprise edition there is free Microsoft OLE DB driver for DB2 and check the thread below for the IBM ODBC driver it also works.
http://www.sqlservercentral.com/Forums/Topic734388-148-1.aspx
Kind regards,
Gift Peddie
August 15, 2009 at 10:12 pm
Hi,
Thanks for your reply. The version of db2 i am using is 8.1 and it is the latest one. When i try to connect in db2 control center its connecting and also if i try to create a package using import wizard in sql server management studio the package is getting created perfectly. But if i used BIDS then its giving me the above problem. i thought the password might not be saved and added a config file and saved the password. But then too it gave the same errors. can you suggest me some fix for this?
August 16, 2009 at 8:15 am
Read the thread I posted in the previous post the last two posts to that thread show alternative places to store the password try both solutions and post again.
Kind regards,
Gift Peddie
August 17, 2009 at 7:51 am
You might also need to check with your AS400 administrator.
Could be a permission issue on that end.
Greg E
August 17, 2009 at 10:17 am
Hi,
Thanks for ur reply.
I am not using AS400 for connection to db2.
August 18, 2009 at 7:28 am
Hi,
When you created the package using import wizard, could you save the package to a file location and try opening it up in BIDS. While using the wizard, towards the end you have two check boxes:
Execute Immediately and Save SSIS package. Trying Saving the SSIS package to the file system.
I thought it would worth a try since it works from the wizard.
Thank you
March 29, 2011 at 6:40 pm
Some data types do not map correctly in SQL Server. Check the mapping before you start the import process.
March 30, 2011 at 2:09 am
smriti.subramanian (8/15/2009)
i thought the password might not be saved and added a config file and saved the password. But then too it gave the same errors. can you suggest me some fix for this?
What is the protection level of the package?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 30, 2011 at 11:56 pm
Set up a Transaction Replication between Sql and DB2 . We are currently doing the same in one of our project. and it is working fine. and try using db2oledb provdied as a connection string to connect between db2 and sql.
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply