Problem : Calling .Close() or using {...} (or any combination or these) with
a OleDBConnection does not close the connection to DB2.

Solution : Uninstall Framework v1.1 Service pack 1

Using : IBM OleDB Provider version ("DB2 v8.1.6.574")
Reproducible on W2k and XP.

Any solution to this problem would be appreciated as SP1 fixes some other
issues that I had but violates the connections.

This is working at another client who is using an UDB Gateway to their DB2
with Framework 1.1 sp1

Thanks
Johan

Re: BUG Found : DB2 OleDB Connections not closing with Framework v1.1 by Frans

Frans
Wed Aug 31 02:37:02 CDT 2005

Johanl wrote:

> Problem : Calling .Close() or using {...} (or any combination or
> these) with a OleDBConnection does not close the connection to DB2.
>
> Solution : Uninstall Framework v1.1 Service pack 1
>
> Using : IBM OleDB Provider version ("DB2 v8.1.6.574")
> Reproducible on W2k and XP.
>
> Any solution to this problem would be appreciated as SP1 fixes some
> other issues that I had but violates the connections.
>
> This is working at another client who is using an UDB Gateway to
> their DB2 with Framework 1.1 sp1

You might consider using the native .NET provider for DB2 from IBM:
http://www-306.ibm.com/software/data/db2/runtime.html

If you're connecting to an AS/400 iSeries, use the latest ClientAccess.

Frans

--
------------------------------------------------------------------------
Get LLBLGen Pro, productive O/R mapping for .NET: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------