Solved

Fatal error encountered attempting to read the resultset ?

Posted on 2009-05-12
2
1,837 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

636 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