cmurialdo
2005-08-23 18:31:18 UTC
Hello,
I have been testing ado.net data provider of the HIS 2004 and I have the
following exception when the prepared statements count reaches 128:
Exception: Microsoft.HostIntegration.MsDb2Client.MsDb2Exception
Message: The maximum number of statements (128) has been reached for the
current connection. SQLSTATE: HY000, SQLCODE: -1500
Source: Microsoft.HostIntegration.MsDb2Client at
Microsoft.HostIntegration.MsDb2Client.DRDAAR.ExecDirect(IntPtr
requesterHandle, IntPtr statementHandle, String statement, Byte[]
parameterData, Int32[] parameterOutSize) at
Microsoft.HostIntegration.MsDb2Client.MsDb2Command.ExecuteNonQuery()
Is it a data provider limitation? How can I configure this maximum?
Thanks,
Regards.
I have been testing ado.net data provider of the HIS 2004 and I have the
following exception when the prepared statements count reaches 128:
Exception: Microsoft.HostIntegration.MsDb2Client.MsDb2Exception
Message: The maximum number of statements (128) has been reached for the
current connection. SQLSTATE: HY000, SQLCODE: -1500
Source: Microsoft.HostIntegration.MsDb2Client at
Microsoft.HostIntegration.MsDb2Client.DRDAAR.ExecDirect(IntPtr
requesterHandle, IntPtr statementHandle, String statement, Byte[]
parameterData, Int32[] parameterOutSize) at
Microsoft.HostIntegration.MsDb2Client.MsDb2Command.ExecuteNonQuery()
Is it a data provider limitation? How can I configure this maximum?
Thanks,
Regards.