Hi Rolf,
take a look at the FbBackup and FbRestore classes in the
FirebirdSql.Data.Firebird.Services Namespace.
Juergen
Rolf Marsh schrieb:
Hello... I have a Windows C# .NET program which spawns a process to
execute gbak with associated parameters to either backup or restore the
Use IP used for connection not the one reported by server for events
Key: DNET-210
URL: http://tracker.firebirdsql.org/browse/DNET-210
Project: .NET Data provider
Issue
I took a look at FirebirdSql.Data.FIrebird.Services namespace, and
decided to try the FbBackup method as a test. In the BackupFiles
method, it asks for the output filename and size... how does one
determine what the size of the output file is going to be prior to doing
the backup?
Rolf
Title: Jürgen Thomas
Hi Rolf,
I read in the Firebird ADO.NET Provider SDK Documentation and
don't understand this property. The only information I found was an
example in the FbBackup class:
"backupSvc.BackupFiles.Add(new
FbBackupFile(@"c:\testdb.gbk", 2048));
"
In the IBExpert documentation
HI Juergen... OK... I'll just leave it at 2048... my major problem is
that I'm getting a message Cannot attach to services manager service
:service_mgr is not defined when I try any of the examples at
This works for me:
public void GenerateBackup()
{
FbBackup backupSvc = new FbBackup();
backupSvc.ConnectionString =
Properties.Settings.Default.ConnectionString;
string filePath = C:\backup.fbk;
backupSvc.BackupFiles.Add(new
Hi
Take a look at my code:
private void btnBackUp_Click(object sender, EventArgs e)
{
//backup with service
FbBackup fbbsvc = new FbBackup();
fbbsvc.ConnectionString =
Properties.Settings.Default.AppConnStr;
//take
I still get the following error message:
Cannot attach to services manager service localhost:service_mgr is not
defined
How do I fix this?
Zvjezdan Tomicevic wrote:
This works for me:
public void GenerateBackup()
{
FbBackup backupSvc = new FbBackup();
Hi Paul... I still get the following error message:
Cannot attach to services manager service localhost:service_mgr is not
defined
How do I fix this?
Mercea Paul wrote:
Hi
Take a look at my code:
private void btnBackUp_Click(object sender, EventArgs e)
{
Which Firebird and .NetProvider version do you use?
Have you tried with simple example first?
On Tue, Feb 17, 2009 at 8:08 PM, Rolf Marsh rmma...@fastmail.us wrote:
Hi Paul... I still get the following error message:
Cannot attach to services manager service localhost:service_mgr is not
How looks your connection string?
I think you miss something...data source = localhost ...
Regards,
Paul
From: Rolf Marsh [mailto:rmma...@fastmail.us]
Sent: Tuesday, February 17, 2009 21:08
To: For users and developers of the Firebird .NET providers
Subject: Re: [Firebird-net-provider]
Here is the example I am using...
FbConnectionStringBuilder cs = new FbConnectionStringBuilder();
cs.DataSource = localhost;
cs.UserID = SYSDBA;
cs.Password = masterkey;
cs.Database = dbBooks;
FbBackup backupSvc = new FbBackup();
Is path j:\\Prager\\Backup\\backup.fbk local to you firebird server?
I mean is drive J physical drive on your firebird server?
On Tue, Feb 17, 2009 at 8:43 PM, Rolf Marsh rmma...@fastmail.us wrote:
Yes, simple example...
FbConnectionStringBuilder cs = new
Yes, it's on the same machine...
Zvjezdan Tomicevic wrote:
Is path j:\\Prager\\Backup\\backup.fbk local to you firebird server?
I mean is drive J physical drive on your firebird server?
--
Open Source Business
Hi Rolf,
Here is the example I am using...
FbConnectionStringBuilder cs = new FbConnectionStringBuilder();
cs.DataSource = localhost;
cs.UserID = SYSDBA;
cs.Password = masterkey;
cs.Database = dbBooks;
[PM]
If dbBooks is not
And your Firebird version and .Net provider version?
On Tue, Feb 17, 2009 at 8:54 PM, Rolf Marsh rmma...@fastmail.us wrote:
Yes, it's on the same machine...
Zvjezdan Tomicevic wrote:
Is path j:\\Prager\\Backup\\backup.fbk local to you firebird server?
I mean is drive J physical drive on
Hi... makes no difference... still gettting the error message:
*Cannot attach to services manager service localhost:service_mgr is not
defined*
R
Mercea Paul wrote:
Hi Rolf,
Here is the example I am using...
FbConnectionStringBuilder cs = new
Try gettting the latest 2.5 Beta.Net provider. No matter it is still beta.
On Tue, Feb 17, 2009 at 9:00 PM, Rolf Marsh rmma...@fastmail.us wrote:
Firebird version is 2.0.5, .NET Provider version is 1.7
R
Zvjezdan Tomicevic wrote:
And your Firebird version and .Net provider version?
Where do I find it? (I looked, but can only find Firebird Client 2.5 BETA)
Zvjezdan Tomicevic wrote:
Try gettting the latest 2.5 Beta.Net provider. No matter it is still beta.
On Tue, Feb 17, 2009 at 9:00 PM, Rolf Marsh rmma...@fastmail.us
mailto:rmma...@fastmail.us wrote:
Firebird
Thats the one.
http://downloads.sourceforge.net/firebird/FirebirdClient-2.5.0-Beta1.msi
If you use events and FB2.1 you can get the latest version from SVN.
I use it in production with no prob. (Basic dbaccess).
Just try it out and see if it is provider issue.
On Tue, Feb 17, 2009 at 9:17
Error message:
Could not load file or assembly 'System.Data.Entity, Version=3.5.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its
dependencies. The system cannot find the file specified.
Program, which used to work under 2.0.1, now no longer works...
R
Zvjezdan Tomicevic
Well, you need .NET 3.5 to use it, or get source and build it for .NET 2.0
or I,ll just send you one right now, latest build for 2.0.
It comes in few minutes.
On Tue, Feb 17, 2009 at 9:43 PM, Rolf Marsh rmma...@fastmail.us wrote:
Error message:
Could not load file or assembly
Thank you... I'll let you know...
R
Zvjezdan Tomicevic wrote:
I've sent it to rmma...@fastmail.us mailto:rmma...@fastmail.us as a
RAR file.
Hope this helps
On Tue, Feb 17, 2009 at 9:49 PM, Zvjezdan Tomicevic zek...@gmail.com
mailto:zek...@gmail.com wrote:
Well, you need .NET 3.5 to
yes...it is on the same machine as the FB server code, which is in
c:\program files\firebird\bin
Zvjezdan Tomicevic wrote:
Is path j:\\Prager\\Backup\\backup.fbk local to you firebird server?
I mean is drive J physical drive on your firebird server?
On Tue, Feb 17, 2009 at 8:43 PM, Rolf
How looks your connection string?
I think you miss something...data source = localhost ...
Regards,
Paul
From: Rolf Marsh [mailto:rmma...@fastmail.us]
Sent: Tuesday, February 17, 2009 21:08
To: For users and developers of the Firebird .NET providers
Subject: Re: [Firebird-net-provider]
Just one more thing
Your path j:\\Prager\\Backup\\backup.fbk.
Is J network drive that you are referencing, or
J is disk drive on computer with firebird server on it. I mean like hard
disk J.
When you are doing backup (as far as I remember) you need to specify path
local to firebird server.
You
To list users:
Some people are not observing the rule of ensuring that their list postings are
plain text. This has two effects that cause a lot of extra work for me as
Administrator and also wrecks the threading of messages for everyone.
The Sourceforge anti-spam process will tag non-text
Zvjezdan Tomicevic wrote:
Just one more thing
Your path j:\\Prager\\Backup\\backup.fbk.
Is J network drive that you are referencing, or *-- no, not a
network drive*
J is disk drive on computer with firebird server on it. I mean like
hard disk J. * -- hard drive, same as where FB is located
28 matches
Mail list logo