Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1918
  • Last Modified:

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?


0
pillmill
Asked:
pillmill
1 Solution
 
objectsCommented:
can u post your code

0
 
zweiSoftware 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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now