Page 1 of 1

Method not supported: MySqlCommand.ExecuteReader

Posted: Tue 17 Apr 2007 13:58
by isystemsltd
Hi,
My code contains call to ExecuteReader on MySqlCommand.
But it gives me error saying "Supported method not supported".

Am I missing to install anything on my machine ?

I have .Net framework 1.1 and 2.0 installed. And Visual Studio 2005.

Thanks in Advance,
iSystems

Posted: Tue 17 Apr 2007 14:23
by Alexey
Please describe the problem in detail.
When does it occur?
What version of MySQLDirect .NET do you use?
The error message you specified is a kind of oxymoron. Check it carefully.

Posted: Tue 17 Apr 2007 14:51
by isystemsltd
Hi,
Thanks for reply.
Sorry about the error message. It is "Specified method not supported".
Here is the code I am executing:

Code: Select all

 Dim Conn As New MySqlConnection(ConnectionString)

        Dim sb As New StringBuilder
        Dim cmdCommandAll As New MySqlCommand("SELECT * from TABLE order by ID desc Limit 18;", Conn)
        Dim myreaderAll As MySqlDataReader = cmdCommandAll.ExecuteReader

Is it of any help to you ?

I have not installed MySQLDirect.Net. What is role of that one in this ?

Thanks.

Posted: Tue 17 Apr 2007 15:37
by Alexey
I have not installed MySQLDirect.Net.
How are you developing without MySQLDiretc .NET installed? Do you use it at all? This is the forum of MySQLDirect .NET.

Posted: Tue 17 Apr 2007 15:52
by isystemsltd
Hi,
Actuall the code uses classes from CoreLab dlls. And I believe it is provided by this company only.
But I am totally new to CoreLab APIs. And don't know how to use it.
Can you let me know if I am developing using CoreLab.MySql APIs, what I need to install on my machine ? I have got .Net 1.1 and .Net 2.0 installed and we are developing on .Net 1.1 framework.

Lastly, I believe I have posted my question on the right forum ? Or can you tell me where I can post this question ?

iSystems

Posted: Tue 17 Apr 2007 16:14
by Alexey
First of all, you should have MySQLDirect .NET for appropriate framework installed on your PC.
Where did you take the project that uses our assemblies? Are you registered user?