Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-21 Thread Pierre Arnaud
It is a good thing to know that it should work :-) And yes: I have access to the database file, and it is being used concurrently by other application threads. I will continue to investigate the issue when I get back to the office in a few days. Thanks for your support. Pierre > Le 21 oct. 20

Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-21 Thread Jiri Cincura
On Sun, Oct 20, 2013 at 10:40 PM, Pierre Arnaud wrote: > 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 Well, this is more or less gene

Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-20 Thread Pierre Arnaud
> > 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 w

Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-20 Thread Jiri Cincura
On Sun, Oct 20, 2013 at 9:02 PM, Pierre Arnaud wrote: > Calling FbBackup.Execute throws the exception because of the sharing > violation. What's the message exactly? -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com -

Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-20 Thread Pierre Arnaud
> You mean FbBackup? Ah, yes, sorry. The interface IDbServiceTools.Backup is not part of the .NET Provider, but part of one of our DB layers. We are calling FbBackup.Execute with just one path in BackupFiles, a ConnectionString which specifies the Embedded server type and as the Options, just 'Ig

Re: [Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-20 Thread Jiri Cincura
You mean FbBackup? -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application perf

[Firebird-net-provider] Backup with fbembed cannot open database file

2013-10-20 Thread Pierre Arnaud
Hello, We had been using successfully IDbServiceTools.Backup with the Embedded Firebird DLL. For some time now, and with no apparent reason (i.e. we cannot figure out what changed in our source control tracking system), the backup fails with a sharing violation, when the backup tries to open the d