Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TSoapConnection db error

7 views
Skip to first unread message

Maarten

unread,
Nov 15, 2007, 1:24:20 PM11/15/07
to
Hi,

I have made an application (3-tier) where a remote PC connects to a
webservice with a database using soap. (connection is a vodafone UMTS
1.8MBps)
For this I use a TSoapConnection - TClientDataSet - TDataSource
construction.

cds.Edit;
cds.FieldByName('IN_PROGRESS').Value :=
True;
cds.Post;

if cds.ApplyUpdates(-1) > 0 then
begin
ShowMessage('Update Failed');
end;

(cds is a TClientDataSet)

In this situation, using the ApplyUpdates always results in a Database
Timeout error.
Since loading the table is quick, I assume the problem is not the network
performance.
When I test this on a local network however, everything works just fine.

Can anyone help me on this?
Regards,
Martin


0 new messages