From: Pierre A. <pie...@op...> - 2013-10-20 20:40:20
|
> > Calling FbBackup.Execute throws the exception because of the sharing > > violation. > > What's the message exactly? It's an FbException wrapping an IscException with the following message: I/O error during "CreateFile (open)" operation for file "C:\PROGRAMDATA\FOO\BAR.FIREBIRD" Error while trying to open file and if I watch what happens with ProcMon.exe, I see that there is an attempt to open the database file, which fails because of a sharing issue. What I find suspect, is the fact that calling FbBackup the first time seems to load fbembed.dll and various other related files; however, all these files have already been loaded previously. Should this work with the embedded server? Might I have an issue of DLL hell where two instances of the embedded server somehow get loaded? Pierre |