Connection rejected by remote interface
Posted: Fri 13 Nov 2009 11:19
Hello,
I use FB 2.1
In my application sometimes when i call this function
I call it like this
I have the message "Connection rejected by remote interface'
After all connections to the database are broken
If i close the application on the dbmonitor i see that all the connections in error state are completed and if i relaunch the application all works good
What could be wrong?
Thanks for help
I use FB 2.1
In my application sometimes when i call this function
Code: Select all
procedure TfrmMain.CreateIbcQryTmp(var ibcqry: TIBCQuery;var ibccnnx:TIBCConnection;var ibctrnsct:TIBCTransaction);
begin
ibccnnx:=TIBCConnection.Create(self);
ibccnnx.Assign(IBCCnnctn);
ibcqry:=TIBCQuery.Create(self);
ibcqry.Connection:=ibccnnx;
ibctrnsct:=TIBCTransaction.Create(self);
ibctrnsct.IsolationLevel:=iblReadOnlyReadCommitted;
ibctrnsct.DefaultConnection:=ibccnnx;
ibcqry.Transaction:=ibctrnsct;
ibccnnx.Connect;
end;
Code: Select all
procedure TfrmGraphData10Min.DrawSeries(prjt, nom_trbn: string);
var
c,i:integer;
s:string;
min,max,val:double;
ibcqry:TIBCQuery;
ibccnnx:TIBCConnection;
ibctrnsct:TIBCTransaction;
begin
frmMain.CreateIbcQryTmp(ibcqry,ibccnnx,ibctrnsct);
...
end;
After all connections to the database are broken
If i close the application on the dbmonitor i see that all the connections in error state are completed and if i relaunch the application all works good
What could be wrong?
Thanks for help