Using Informix Client SDK I get this error ( The parameter data type of DBNull is invalid )

O

Objectguy

We have the following environment

..Net Framework 2.0
- Informix Client SDK 2.90 TC6
- Informix 9.40 FC8

The following error started appearing after we upgraded to TC6. It
never happened in TC4/TC5.


System.ArgumentException: The parameter data type of DBNull is
invalid..
at IBM.Data.Informix.TypeMap.FromSystemType(Type dataType, Int32
iLength)
at IBM.Data.Informix.IfxParameter.GetParameterValue()
at IBM.Data.Informix.IfxParameter.Bind(IntPtr stmt, IfxCommand
parent, Int16 ordinal, CNativeBuffer buffer, CNativeBuffer intbuffer)
at IBM.Data.Informix.IfxCommand.ExecuteReaderObject(CommandBehavior
behavior, String method)
at IBM.Data.Informix.IfxCommand.ExecuteReader(CommandBehavior
behavior)
at
IBM.Data.Informix.IfxCommand.System.Data.IDbCommand.ExecuteReader()

Please help
 
O

Objectguy

IBM has a patch for this bug. You have to call their support and ask
for

The Informix .NET APAR ( bug) for the DBNull problem is IC50773.
 
Top