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)