You attempted to call the OpenResultset method, and the value for the type argument was not one of the following values:
To avoid this error, make sure the type argument is one of the previously mentioned values.
Note Not all data sources support all cursors.