Could you describe what exactly you did try to do and what exactly is not working for you?
Perhaps the best (and fastest) approach would be to send your project to support@ (everything sent there is kept private) so we’ll review it locally to find out what goes wrong.
added server.daConnections file and added connection to local database
added MyNewDataset.daSchema file and added table from connections manager by drag-and-drop into the DA schema modeler
created the following class file:
[RemObjects.SDK.Server.Service]
public class DataService : RemObjects.DataAbstract.Server.DataAbstractService
{
#region Constructor/Initialize/Dispose
public DataService ()
{
this.InitializeComponent();
}
// Required for designer support
private void InitializeComponent()
{
RemObjects.DataAbstract.Bin2DataStreamer dataStreamer;
dataStreamer = new RemObjects.DataAbstract.Bin2DataStreamer();
RemObjects.DataAbstract.Scripting.EcmaScriptProvider scriptProvider;
scriptProvider = new RemObjects.DataAbstract.Scripting.EcmaScriptProvider();
this.AcquireConnection = true;
this.ServiceDataStreamer = dataStreamer;
this.ServiceSchemaName = "MyNewDataset";
this.ScriptProvider = scriptProvider;
}
#endregion
}
The project builds and runs, but I am trying to import this into our Delphi application via the “Client Module for VCL Application” wizard.
The wizard can connect to the server, sees the DataService, but cannot retrieve the server schema.
Cannot retrieve server schema: RemObjects.DataAbstract.DAException: An exception occurred on the server: Cannot find schema MyNewDataset …
In the meantime I was able to resolve this issue.
When adding a new .daSchema file, the build action is not set to “Embedded Resource”.
Manually setting this property resolved the issue I had in the Delphi wizard.
I am not sure if this is a bug or normal behavior…