Dondon22 Respected Contributor.
Respected Contributor.
365 views

SQL Query Step Problems

I use to get this error from time to time from SQL Query step: "There is already an open DataReader associated with this Command which must be closed first" May I know if there is something we can do in OO or is it beyond my control? Thanks in advance
In IT there is no Magic, just Logic ^_^
Labels (1)
0 Likes
2 Replies
EASPhilLewis Absent Member.
Absent Member.

Re: SQL Query Step Problems

Do you have another SQL Query operation running before this one? If you do then you will need to set the following input to true: multipleActiveResultSets

This input allows multiple DataReaders open concurrently on the same connection.

 

Dondon22 Respected Contributor.
Respected Contributor.

Re: SQL Query Step Problems

Ok, I added this input to may base step class with a default value of true... I will monitor if it will happen again.

BTW, my OO version is 9.07

In IT there is no Magic, just Logic ^_^
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.