SCM

[#1011218] Error message is wrong

View Trackers | Bugs | Download .csv | Monitor

Date:
2012-08-25 01:16
Priority:
3
State:
Open
Submitted by:
Aren Cambre (arencambre)
Assigned to:
Nobody (None)
Npgsql Version:
2.0.11
Category:
Group:
Resolution:
None
Summary:
Error message is wrong

Detailed description
This error message is wrong: "There is already an open DataReader associated with this Command which must be closed first."

This comes from NpgsqlCommand.cs, line 877, in CheckConnectionState.

In my case, I have two commands using the same connection. The first command did indeed have an open DataReader. The second command is what threw the error.

The message is wrong because the DataReader is NOT associated with the command that threw the exception. Contrary to the error message, the DataReader is associated with the other command.

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge