user566095
user566095

Reputation: 31

open DataReader associated with this Command

I'm using Database > Import Data-tier Application to pull in my .BACPAC file and am getting this error:

There is already an open DataReader associated with this Command which must be closed first. (System.Data)

I am trying this from a fresh reboot of the machine so there are no other previous connections. How do I close the DataReader / fix the problem?

I've tried posting this on the Database Administrators but no-one seemed to know how...

Upvotes: 1

Views: 918

Answers (2)

Mark McP
Mark McP

Reputation: 13

Had the same problem in SSMS version 18.6 Preview Updating to the recently released v18.6 Stable Release solved the problem.

Upvotes: 0

recursive
recursive

Reputation: 86144

I think this may be a bug in SSMS.

I worked around it by pasting this in "Additional Connection Parameters".

MultipleActiveResultSets=True;

Upvotes: 6

Related Questions