RTC Forums
March 28, 2024, 03:19:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Clientdataset exception thrown (Cannot perform this operation on closed dataset)  (Read 3589 times)
Filip D.
RTC Expired
*
Posts: 8


« on: May 04, 2018, 12:52:32 PM »

This error occurs when i run the .exe on a pc where Delphi is not installed.
Same compiled code runs perfect on my developent machines.

This error is kicked off when assigning a returned dataset on the client to the rtcClientdataset
Obviously i'm missing something, is there a file to deploy, what am i doing wrong ?

   
   try
      rtcClientDataset_Stars.asDataSet:=Result.asDataSet;
      except
    on E : Exception do
     begin
       ShowMessage('Exception class name = '+E.ClassName);
       ShowMessage('Exception message = '+E.Message);
     end;
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: May 04, 2018, 01:45:00 PM »

If you are having problems using the "TRtcClientDataSet" component (extends the "TClientDataSet" component from Delphi) on machines which do NOT have Delphi installed, you might be missing some prerequisites. Check this EDN article for more info: Deploying Applications that use ClientDataSets
Logged
Filip D.
RTC Expired
*
Posts: 8


« Reply #2 on: May 04, 2018, 07:31:22 PM »

Hi Thx for the quick reply :-)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.023 seconds with 16 queries.