Access Violation closing server with TRODataSnapModule

Hallo all,

I have a problem using TRODataSnapModule.
When I close the server program I get an EAccessViolation error during DataSnapModule distruction.
It occurs only if I connect from a client, opening a ClientDataSet.

I’ve made a little test case to show the problem.

  • Run the server
  • Run the client
  • Click on button1 - it opens and closes a ClientDataSet
  • Close the server
    You will get the error.

I’m using RemObjects 6.0.39.777 and Delphi 2009

Here the test case…

Did you try the fix here? http://connect.remobjects.com/discussion/comment/2756#Comment_2756

You could also try updating your copy of RO to the latest version. There have been at least a couple of fixes for AV’s with Datasnap.

The fix works fine.
Thanks very much!!