when I try to connect using the example inside Net-Provider package, I
receive the following error:
# mono ConnectionPooling.exe
Open two connections.
Unhandled Exception: System.ArgumentException: index is greater than
or equal to the source ArrayList.Count
in <0x00110> 00 System.Collections.ArrayList:CopyTo
(int,System.Array,int,int)
in <0x00050> 00 .SyncArrayList:CopyTo (int,System.Array,int,int)
in <0x00109> 00 FirebirdSql.Data.Firebird.ConnectionPool:CleanUp
(object)
in <0x0004a> 00 FirebirdSql.Data.Firebird.ConnectionPool:RunCleanUp ()
in <0x0004b> 01 System.MulticastDelegate:invoke_void ()
Return both of the connections to the pool.
Open a connection from the pool.
Open a second connection from the pool.
Open a third connection.
Return all three connections to the pool.
I'm using:
mono-0.24 RPM package from mono site for RedHat-9.
Net-Provider-RC3
compile with:
mcs ConnectionPooling.cs -r FirebirdSql.Data.Firebird.dll -r
System.Data.dll
tnx
-
Gustavo
|