Error when stored procedure has no parameters

I am trying to call a stored procedure using subsonic and fetch Object Reference not set

. It works for other treatments. It doesn't work if the procedure has no parameters.

Is this a known bug? Is there a fix?

(I am using the latest version)

+1


a source to share


3 answers


This is a known issue. A workaround at this time is to create a stored procedure parameter that does nothing, I like to use int

pass as well 0

.



This will hopefully be fixed v3.0.

0


a source


This was fixed in version 2.2 (I can't track down the issue with Google Code or CodePlex right now, but I'm pretty sure it's fixed).



0


a source


Update to the latest version which fixes this: Get version 2.2 here

0


a source







All Articles