Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Microsoft DB2 OLEDB Provider 4.0 Expand / Collapse
Author
Message
Posted Thursday, June 14, 2012 10:31 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:11 AM
Points: 216, Visits: 273
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?
Post #1316069
Posted Tuesday, June 19, 2012 8:24 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:11 AM
Points: 216, Visits: 273
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).
Post #1318072
Posted Tuesday, August 14, 2012 2:33 PM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 1:12 AM
Points: 132, Visits: 934
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
Post #1345026
Posted Wednesday, August 15, 2012 2:49 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, April 14, 2014 1:11 AM
Points: 216, Visits: 273
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.
Post #1345172
Posted Thursday, August 16, 2012 11:13 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: 2 days ago @ 1:12 AM
Points: 132, Visits: 934
Great thanks Andrew!

--------------------------------------------------
...0.05 points per day since registration... slowly crawl up to 1 pt per day hopefully
Post #1346132
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse