I used to execute certain commands TDARemoteCommand on the server.
After I updated to version 5.0.5 AnyDac receive “An exception was raised on the server:. [AnyDAC] [Phys] [ib] -318 take all registrations may be made one-way”, 0, 0, 0 false" exception.
Sorry if my answer does not match the case exactly but maybe it helps to use this thread to find a fixed version of the the uAnyDACDriver.pas. If you do not use this file already … search on both sides please. I think the fix refers to the problem posted in AnyDAC forum but maybe it helps to move one step further.
I couldn’t get the same exception, it depends on the type of executed command probably. Please specify what commands cause such error.
What about '[AnyDAC] [Phys] [ib] -318 Fetching all records cannot be performed unidirectionally ’ exception - it is already fixed in the latest gamma 6.0.56.975
Command is an stored procedure
database is firebird
Code is like this:
vRemoteCommand := TDARemoteCommand.Create(nil);
try
vRemoteCommand.RemoteService := fIBaseMdiMainForm.GetRemoteDataAdapter.RemoteService;
with vRemoteCommand.ExecuteCall do
begin