SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Microsoft DB2 OLEDB Provider 4.0


Microsoft DB2 OLEDB Provider 4.0

Author
Message
Andrew Diniz
Andrew Diniz
SSC Eights!
SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)

Group: General Forum Members
Points: 808 Visits: 293
Has anyone managed to connect to DB2/AS400 using the new version (4.0) of Microsoft's DB2 OLEDB provider?

I had the version 3.0 provider working fine. Using the same connection properties in the version 4.0 provider yields the following error when testing the connection at design time:

The connection failed because of an error initializing the provider. - The host resource could not be found. Check that the Initial Catalog value matches the host resource name.

I've checked the host resource name and it's correct (and works with the version 3.0 provider).

To isolate my version of SQL from the symptom, I have also tried making the connection using Microsoft's Data Access Tool (which ships with the new provider) and get the same result.

I'm running this on Windows 7 SP1 x64 and have all the pre-requisite software installed:

Microsoft SQL Server 2008 R2
Microsoft .NET Framework 4.0
Microsoft Visual C++ 2010 Redistributable Package (x86)
Microsoft Visual C++ 2010 Redistributable Package (x64)


Anyone?
Andrew Diniz
Andrew Diniz
SSC Eights!
SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)

Group: General Forum Members
Points: 808 Visits: 293
For those who encounter this in the future, a hotfix is available from Microsoft which addresses the connectivity issue. I have tested it and it works.

See FIX article http://support.microsoft.com/default.aspx?scid=kb;en-us;2717598. While the symptom described doesn't mention the error message I encountered, the root cause is the same.

NOTE that you don't need to be running Host Integration Services; the hotfix applies to both Microsoft Host Integration Server 2010 and Microsoft OLE DB Provider for DB2 4.0 (expand Applies To section).
sqlsurfing
sqlsurfing
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1912 Visits: 1191
I saw your post and wanted to ask where would I download the latest version?
http://msdn.microsoft.com/en-us/library/hh873008.aspx

I tried the link above with no luck - attempted a few google searches. The results lead me to a "page missing" from Microsoft. Their 2012 document DB2OLEDBV4.PDF instructs to download to:
http://www.microsoft.com/en-us/download/details.aspx?id=28145

Leads to same spot with no download.

Thanks

--------------------------------------------------
...0.05 points per day since registration... slowly crawl up to 1 pt per day hopefully :-D
Andrew Diniz
Andrew Diniz
SSC Eights!
SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)SSC Eights! (808 reputation)

Group: General Forum Members
Points: 808 Visits: 293
Did you check the FIX article I referenced above (http://support.microsoft.com/default.aspx?scid=kb;en-us;2717598)? At the top of page there's a large green hotspot titled 'Hotfix Download Available'.

I can't say if this is the latest version but it certainly addresses the issue I had. Note that the downloadable hotfix is a re-release of the OLE DB Provider for DB2 v4.0 so you are advised to remove your existing installation before installing the hotfixed version.
sqlsurfing
sqlsurfing
SSCommitted
SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)SSCommitted (1.9K reputation)

Group: General Forum Members
Points: 1912 Visits: 1191
Great thanks Andrew!

--------------------------------------------------
...0.05 points per day since registration... slowly crawl up to 1 pt per day hopefully :-D
erin.north
erin.north
SSC-Enthusiastic
SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)SSC-Enthusiastic (135 reputation)

Group: General Forum Members
Points: 135 Visits: 274
Thank you so much ! I spent so many hours on it.
It is working now ! :-)
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search