Solved

Fatal error encountered attempting to read the resultset ?

Posted on 2009-05-12
2
1,776 Views
Last Modified: 2012-05-06
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
Comment
Question by:pillmill
2 Comments
 
LVL 92

Expert Comment

by:objects
ID: 24370237
can u post your code

0
 
LVL 7

Accepted Solution

by:
zwei earned 500 total points
ID: 24370267
"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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question