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
[EMAIL PROTECTED]
http://www.cyber0ne.com
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to