[Mono-list] Recommended MySQL Data Provider?

David P. Donahue ddonahue at ccs.neu.edu
Mon Nov 7 10:19:09 EST 2005


> I don't understand your example, you are passing the message from the 
> xeception into the constructor for a DataSet?

The idea was to always return a dataset, even an empty one (in which 
case the title of the dataset would be the error message).  I guess it 
doesn't work as well as I'd hoped.

> If you want to know the real error I would remove the try catch 
> entirely. Its generally not recommended to catch the most generic error 
> anyway.

Well, that did show a new error:

"Keywork not supported.
Parameter name: direct"

It hadn't even occurred to me that I would need to change my connection 
string, which is the only place in my code that has the word "direct." 
I just tried a really simple one:

"Server=sername;Database=dbname;Uid=username;Pwd=password;"

But now all functions result in a "Thread was being aborted" error.


Regards,
David P. Donahue
ddonahue at ccs.neu.edu
http://www.cyber0ne.com


More information about the Mono-list mailing list