logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Can't close connection / connection pool: msg#00115

Subject: Re: Can't close connection / connection pool
Argh! This problem just went away on its own. I have no idea why. 

- Dan.

-----Original Message-----
From: 
firebird-net-provider-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
[mailto:firebird-net-provider-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx]
 On Behalf Of
Dan Cooperstock
Sent: March 12, 2007 12:27 PM
To: 'For users and developers of the Firebird .NET providers'
Subject: Re: [Firebird-net-provider] Can't close connection / connection
pool

Yes, I am doing the backup immediately after closing the connection. The
gist of the code I am executing is as follows:

connection.Close();
FbConnection.ClearAllPools(); // or: FbConnection.ClearPool(connection) - no
difference Process.Start("gbak.exe", "-b -user sysdba -pas X -y logfile
sourcedbfile targetbackupfile");

Then I do a WaitForExit on that process, and get its ExitCode. The errors I
listed show up in the logfile.

I tried this in the debugger, with a human-sized pause (e.g. seconds at
least) between the ClearAllPools() and the execution of gbak, and it still
gives the same error.

Thanks.
---------------------------
Dan Cooperstock
DONATION web site: http://www.FreeDonationSoftware.org
DONATION Support forums: http://forums.FreeDonationSoftware.org
E-mail: mailto:info-sLj9hqxh96zh6zJ/f4AQ2nsezro844bb@xxxxxxxxxxxxxxxx
Home Phone: 416-423-9064



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


<Prev in Thread] Current Thread [Next in Thread>