Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Datasnap with firebird returning Access violation


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jun 7, 2016 6:21 AM Last Post By: Guest Threads: [ Previous | Next ]
Rene Kirstein

Posts: 1
Registered: 4/8/03
Datasnap with firebird returning Access violation  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 5, 2015 12:02 PM
Hi,

I am new to Delphi 10 Seattle (from Delphi 2009) and new to Datasnap, Firebird, FireDac.

I followed the tutorial to set up a very basic Data Server and a client with just one ClientDataset. I have used FireDac on the servermodule with a connection to Firebird. There are no problems with connecting to Firebird and I was able to connect to a FDQuery component without a problem and read the fields info into the fields editor quite easily. There were no problems in getting the application server to run.

While the application server was running I tried to connect the Clientdataset in the Client to the provider on the server and keep getting the message :
"Access violation at address 50FCDC6F in module 'dsnap230,bpl', Read of address 00000000"

There was mo problem getting the SQLconnection and the DSProvider connection to connect to the server, but I cannot get the clientdataset to connect...

I have spent all day yesterday as well as today reading all I can and seemingly trying a million different thingsm but am just getting no closer to accessing my data on the client.

Please could someone point me in the right direction, I am desperate!

Thanks!
Rene

Edited by: Rene Kirstein on Dec 5, 2015 10:47 PM

Okay, solved my own problem.

If there is anyone else out there who struggles as I have done, the missing 'ingredient' in the tutorial is to add 'MidasLib' to the uses clause in the client unit where you have the ClientDataset which connects to the remote dataSetProvider.
Guest
Re: Datasnap with firebird returning Access violation
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2016 6:21 AM   in response to: Rene Kirstein in response to: Rene Kirstein
Hola Sabes si ademas de incluir la libreria en el uses no hay que colocar rutas o algo asi.

A mi me sigue saliendo el mismo error.

o la libreria midas.dll debe ir en algun lugar especifio?

Muchas gracias

Rene Kirstein wrote:
Hi,

I am new to Delphi 10 Seattle (from Delphi 2009) and new to Datasnap, Firebird, FireDac.

I followed the tutorial to set up a very basic Data Server and a client with just one ClientDataset. I have used FireDac on the servermodule with a connection to Firebird. There are no problems with connecting to Firebird and I was able to connect to a FDQuery component without a problem and read the fields info into the fields editor quite easily. There were no problems in getting the application server to run.

While the application server was running I tried to connect the Clientdataset in the Client to the provider on the server and keep getting the message :
"Access violation at address 50FCDC6F in module 'dsnap230,bpl', Read of address 00000000"

There was mo problem getting the SQLconnection and the DSProvider connection to connect to the server, but I cannot get the clientdataset to connect...

I have spent all day yesterday as well as today reading all I can and seemingly trying a million different thingsm but am just getting no closer to accessing my data on the client.

Please could someone point me in the right direction, I am desperate!

Thanks!
Rene

Edited by: Rene Kirstein on Dec 5, 2015 10:47 PM

Okay, solved my own problem.

If there is anyone else out there who struggles as I have done, the missing 'ingredient' in the tutorial is to add 'MidasLib' to the uses clause in the client unit where you have the ClientDataset which connects to the remote dataSetProvider.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02