Hi,
I’ve a basic datasnap server / client with Remobjects Datasnap module.
Everything seems working normal till try to update some data.
I edit data from client and post it. After that I need to applyupdates(-1); to apply updates to server but I got:
An exception was raised on the server: One of the connections in the transaction is not active.
I’m using SDAC (latest) with RO SDK (latest) as server.
I googled for the exception but can’t find any hint or solution or same problem on the internet.
I can’t reproduce your error with SDAC components. Tested with DataSnap sample from RemObjects SDK for Delphi samples, ADO components was replaced by SDAC components on DataSnapServerDataForm.
From Andrey’s response it sounds like you may need to change your class factory to per-client instead of the default (which creates and destroys the module for each call).
From Andrey's response it sounds like you may need to change your class factory to per-client instead of the default (which creates and destroys the module for each call).
Thanks for your answer nwoolls,
can you tell how can I do this?