Page 1 of 1

UniConnection->Disconnect() fails

Posted: Sun 17 Mar 2013 13:15
by sandy771
When I try and close a connection on an UniConnection that has multiple UniTabel and UniQuery's connected to it I get an exception

using UniConnection->Disconnect()

I get:

"MyTable Cannot perform this operation on a closed dataset"

This used to work OK in my application, but fails now - any ideas what could be causing this?

Re: UniConnection->Disconnect() fails

Posted: Mon 18 Mar 2013 11:28
by AlexP
Hello,

The given error can occur in different cases, for example, when attempting to edit DataSet on the closed connection. Please check that you are not attempting to work with DataSets after closing the connection.