Fatal error encountered attempting to read the resultset ?

I get the MySQL error: "Fatal error encountered attempting to read the resultset."
when I run my code. The error occurs on the line:
cmd.ExecuteNonQuery();

When I execute the same SQL in isolation, there is no error.
I use the same parameters and SQL that are in cmd.

How do I fix this?


pillmillAsked:
Who is Participating?
 
zweiConnect With a Mentor Software DeveloperCommented:
"Fatal error encountered attempting to read the resultset."

It sounds like you are trying to store the resultset returned from ExecuteNonQuery() (which doesn't return a resultset).
0
 
objectsCommented:
can u post your code

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.