• Have you checked the possible issues in the error message?

    such as; make sure your parameters have variables associated with them and also check that the resultset is set properly and the resultset is being mapped to a variable..