You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
There is already an open DataReader associated with this Command which must be closed first #352
Hello.
I just clone repo, I did change connection string ("Data Source=localhost;Initial Catalog=Northwind;User ID=test;Password=test;MultipleActiveResultSets=True"),
then I run console version and got almost on each run this exception:
'There is already an open DataReader associated with this Command which must be closed first'
In : AgregateCalculator.cs, line: 39
I did try to add in connection string: 'MultipleActiveResultSets=True' but it won't even start. There is other exception then: 'System.InvalidCastException: Unable to cast object of type 'System.Data.ProviderBase.DbConnectionClosedConnecting' to type 'System.Data.SqlClient.SqlInternalConnectionTds'
Activity
AlekseyMartynov commentedon May 20, 2019
Hello
What does
dotnet --versiontell?The mentioned
InvalidCastExceptionis discussed in the following threads: