Method not supported: MySqlCommand.ExecuteReader

Method not supported: MySqlCommand.ExecuteReader

Postby isystemsltd » Tue 17 Apr 2007 13:58

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
isystemsltd
 
Posts: 6
Joined: Tue 17 Apr 2007 13:53

Postby Alexey » Tue 17 Apr 2007 14:23

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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby isystemsltd » Tue 17 Apr 2007 14:51

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.
isystemsltd
 
Posts: 6
Joined: Tue 17 Apr 2007 13:53

Postby Alexey » Tue 17 Apr 2007 15:37

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.
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43

Postby isystemsltd » Tue 17 Apr 2007 15:52

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
isystemsltd
 
Posts: 6
Joined: Tue 17 Apr 2007 13:53

Postby Alexey » Tue 17 Apr 2007 16:14

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?
Alexey
 
Posts: 2756
Joined: Mon 13 Mar 2006 07:43


Return to dotConnect for MySQL