> > 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



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to