Skip to content

There is already an open DataReader associated with this Command which must be closed first #352

Closed

Description

@LadislavSopko

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'

Regards
ladislav

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions