Solved

Fatal error encountered attempting to read the resultset ?

Posted on 2009-05-12
2
1,712 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

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.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now