Subject message length error (encountered 0, expected 8)
Author Ghanshyam

While executing a procedure (from .Net application), I am getting
follwing error

"message length error (encountered 0, expected 8)"

The same SP when executed through IBConsole, executes properly and
returns the expected value.
The syntax used for executing SP is right, 'coz the same is used for
execution of other SP.
What may be the causes of the error.

Thanks in advance.