Frans, thanks very much for the quick reply. I think I might be misunderstanding you, because your two most recent posts seem to contradict each other. First:
Otis wrote:
The v9 ADO.NET provider is the ado.net provider for DB2, so there's no other one.
Then I said I had a different version--version 8. The reason I said that the assembly "exposes ADO.NET types" was to show that this dll was indeed an ADO.NET provider and not something else. And you said,
Otis wrote:
Every .NET provider of them does that
I don't understand how you can make a comment about "every .NET provider of them" after you said that there is only one.
The other thing I guess I misunderstood was:
Otis wrote:
it should be able to connect to older versions (up till v7) of DB2 (on unix/windows, not as/400), it simply connects to the DB through the DB2 client installed.
I thought you meant that the v9 dll should work through whatever DB2 Connect was installed on the machine, even if it's v8. But now I guess you meant that I would still need DB2 Connect v9 on the machine--you were just saying that the machine should be able to connect to a DB2 v8 database. That makes sense. However, our DB manager tells me that a configuration change is required on the mainframe in order to allow a v9 client to connect to a v8 database. They're not going to do that at this time, because any configuration change requires regression testing of existing apps, and they don't have that budgeted for this year.
Of course, the best part of your post is this:
Otis wrote:
in the v2.6 runtime lib DotNET20 folder, you'll find a folder called 'IBMDB2v8121', and in there you'll find a DB2 DQE assembly built with v8.1.2.1 as ADO.NET provider. You should reference that one in your project.
That's what I was really hoping to hear! I will give that a try next week.
Thanks again for your help! I know you're busy!
Dave