From:
<car...@te...> - 2004-02-04 08:19:19
|
Hello: > But suppose I execute a query at the placeholder 1 in the above code, > the error comes. I realise that there may be some connection left open, > even when I Dispose() and nullify FbConnection and FbCommand objects. I > know that only when the GC executes, will this be freed, but then what > else could be done to execute backup/restore. > At the placeholder 2 in the above code, I tried this code as well. Try using Pooling=False in the connection string, by default the connection pooling is enabled, and connections are not really closed ( using FbConnection.Dipose or FbConnection.Close ). -- Best regards Carlos Guzmán Álvarez Vigo-Spain |