Mega Search
23.2 Million


Sign Up

Make a donation  
Datasnap TDSServerModule removed in XE6?  
News Group: embarcadero.public.delphi.database.multi-tier

Hi

I tried to compile a XE5 datasnap server app in XE6 and I get an error that 
Unidentified Module: TDSServerModule.  How do I get around this.  Is there a 
white paper on changes to datasnap?
Also noticed TDSServerModule option has been removed from the wizard.

Thanks
Godfrey

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 16-Apr-2014, at 11:55 PM EST
From: Godfrey Fletcher
 
Re: Datasnap TDSServerModule removed in XE6?  
News Group: embarcadero.public.delphi.database.multi-tier
Godfrey Fletcher wrote:

> I tried to compile a XE5 datasnap server app in XE6 and I get an
> error that Unidentified Module: TDSServerModule.  How do I get around
> this.  Is there a white paper on changes to datasnap?

Probably a unit changes, did you tried to look in help? Search for
TDSServerModule and look what is the unit that contains the class.


Cesar Romero

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Apr-2014, at 6:09 AM EST
From: Cesar Romero
 
Re: Datasnap TDSServerModule removed in XE6?  
News Group: embarcadero.public.delphi.database.multi-tier
Am 17.04.2014 08:55, schrieb Godfrey Fletcher:
> Hi
>
> I tried to compile a XE5 datasnap server app in XE6 and I get an error that
> Unidentified Module: TDSServerModule.  How do I get around this.  Is there a
> white paper on changes to datasnap?

Add Datasnap.DSProviderDataModuleAdapter to uses.


> Also noticed TDSServerModule option has been removed from the wizard.

It is available over here.


-- 
Uwe Raabe
Embarcadero MVP
Certified Delphi Master Developer
Uwe's Blog: The Art of Delphi Programming 

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Apr-2014, at 6:51 AM EST
From: Uwe Raabe
 
Re: Datasnap TDSServerModule removed in XE6?  
News Group: embarcadero.public.delphi.database.multi-tier
> Probably a unit changes, did you tried to look in help? Search for
> TDSServerModule and look what is the unit that contains the class.
>
>
> Cesar Romero
>

Yep.  Moved to DSProviderDataModuleAdapter.

Thanks
Godfrey

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Apr-2014, at 7:11 AM EST
From: Godfrey Fletcher
 
Re: Datasnap TDSServerModule removed in XE6?  
News Group: embarcadero.public.delphi.database.multi-tier
>> Also noticed TDSServerModule option has been removed from the wizard.
>
> It is available over here.
>
>
> -- 
> Uwe Raabe
> Embarcadero MVP
> Certified Delphi Master Developer
> Uwe's Blog: The Art of Delphi Programming 
>

Sorry, it is still there I tried Datasnap Rest server wizard.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Apr-2014, at 7:14 AM EST
From: Godfrey Fletcher
 
Re: Datasnap TDSServerModule removed in XE6? [Edit]  
News Group: embarcadero.public.delphi.database.multi-tier
> {quote:title=Godfrey Fletcher wrote:}{quote}
> Hi
> 
> I tried to compile a XE5 datasnap server app in XE6 and I get an error that 
> Unidentified Module: TDSServerModule.  How do I get around this.  Is there a 
> white paper on changes to datasnap?
> Also noticed TDSServerModule option has been removed from the wizard.
> 
> Thanks
> Godfrey

Hi,

I faced the same problem but I made some manual changes on the ServerMethods unit, it is working fine now.

Create sample Rest Server in XE6, Open the ServerMethds unit and replace the following code :
TServerMethods1 = class(TDSServerModule)

Now, Replace your code into ServerMethods unit. This is my temporary solution.

Thanks
Udhayakumar M

Edited by: Udhayakumar Murugesan on Apr 17, 2014 3:49 AM

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Apr-2014, at 6:52 AM EST
From: Udhayakumar Murugesan