Does the FbBackup requires that all connections are closed when using
the embeded server?
I'm using the following code:
StringBuilder sb = new StringBuilder();
FbBackup backup = new FbBackup();
backup.BackupFiles.Add(new FbBackupFile(filename, 4096));
backup.ConnectionString = connectionString;
backup.ServiceOutput += delegate(object sender, ServiceOutputEventArgs e)
{
sb.Append(e.Message);
};
backup.Execute();
But this produces the following error: "I/O error for file CreateFile
(open) "DATABASE.FDB"
Error while trying to open file"
I'm using this connection string for all connections and the FbBackup
service: "Database=DATABASE.FDB;Server Type=1".
Thanks
--
Julio César Carrascal Urquijo
http://jcesar.f2o.org/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider