Search code examples
subsonic

Error when the Stored procedure don't have any parameters


I am trying to call the stored procedure using subsonic and getting Object Reference not set. It is working for other procedures. It only fails if the procedure doesn't have any parameters.

Is this a known error? Is there a fix?

(I am using the latest version)


Solution

  • This is a known issue, the workaround at this time is to create a parameter for the stored procedure that doesn't do anything, I like to use an int and pass 0.

    This should hopefully be fixed by v3.0.