andrewmanuja
Well-known member
- Joined
- May 30, 2019
- Messages
- 75
- Programming Experience
- Beginner
Hi,
This is more related to SQL and apologies in advance . However, since I need to clarify this, thought of posting this under the general discussion.
I got an issue while trying to execute multiple INSERT queries to SQL database.
The error was, "There is already an open DataReader associated with this Command which must be closed".
When doing a bit of reading, I came across the addition of MARS in to the DB connection string as a solution and it worked.
My question is, the application I am developing is intended to allow multiple users to interact with the application at the same time, and the use of MARS will affect the performance? or will it create any impact on the application? or should I use an alternative solution to get rid of the said issue?
Appreciate your feedback.
Kind regards,
Andrew
This is more related to SQL and apologies in advance . However, since I need to clarify this, thought of posting this under the general discussion.
I got an issue while trying to execute multiple INSERT queries to SQL database.
The error was, "There is already an open DataReader associated with this Command which must be closed".
When doing a bit of reading, I came across the addition of MARS in to the DB connection string as a solution and it worked.
My question is, the application I am developing is intended to allow multiple users to interact with the application at the same time, and the use of MARS will affect the performance? or will it create any impact on the application? or should I use an alternative solution to get rid of the said issue?
Appreciate your feedback.
Kind regards,
Andrew