Known issues with OLE DB .NET bridge

In a .NET application, when calling stored procedures that take no parameters, the OledbCommand attribute "CommandType" does not function as expected.

Possible cause

This behavior is due to the requirement of HCL Informix® servers to have parentheses as part of the syntax of the stored procedure, even if there are no parameters.

Resolution

To work around this problem, use the OledbCommand's commandText attribute to build your own string for the stored procedure call before calling the Executexxx methods of the command interface.