Re: [Firebird-net-provider] Backup/Restore

2008-11-17 Thread Markus Ostenried
On Mon, Nov 17, 2008 at 15:19, kixzo <[EMAIL PROTECTED]> wrote: > Hello, > I want to show the Backup and restore Progress to the Users. > > How can I do so, is there any way firebird process returns any values on the > Progress. Hi, I did the following: I counted the lines returned by doing a ver

Re: [Firebird-net-provider] Backup/Restore

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 15:19, kixzo <[EMAIL PROTECTED]> wrote: > I want to show the Backup and restore Progress to the Users. > > How can I do so, is there any way firebird process returns any values on the > Progress. You can't. The Services API doesn't have some kind of returning the progress.

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
ok, the problem was in my commandline: \" after masterkey shouldn't be there Thierry Tetram Corp a écrit : > ok, > > what I did: > > - clean windows install (xp sp3) > - clean vs 2008 install (including sp and framework 3.5 sp1) > - install of provider using current FirebirdClient-2.5.0-Alpha2 fr

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
ok, what I did: - clean windows install (xp sp3) - clean vs 2008 install (including sp and framework 3.5 sp1) - install of provider using current FirebirdClient-2.5.0-Alpha2 from ibphoenix (fresh download; I got this one because of FW 3.5), including modifying machine.config - install of DDEX i

[Firebird-net-provider] Backup/Restore

2008-11-17 Thread kixzo
Hello, I want to show the Backup and restore Progress to the Users. How can I do so, is there any way firebird process returns any values on the Progress. Rakesh Singh http://www.4colordesign.com - This SF.Net ema

Re: [Firebird-net-provider] Writer block reader issue

2008-11-17 Thread Helen Borrie
At 10:15 PM 17/11/2008, you wrote: ...the developer told me that in Interbase and Firebird >writers don't lock readers. He said that I should add tpb_rec_version to my >transaction parameters block. Or ask driver's author to do so. This is to >avoid IBReplicator blocking my whole .NET app up for al

Re: [Firebird-net-provider] Backup/Restore Notification

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 14:05, kixzo <[EMAIL PROTECTED]> wrote: > How can I set notification for the user after my Database backup and Restore > process complete. When the Execute method completes, the backup or restore is done. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jir

[Firebird-net-provider] Backup/Restore Notification

2008-11-17 Thread kixzo
Hello, How can I set notification for the user after my Database backup and Restore process complete. I have used this. Backup.ServiceOutput += new ServiceOutputEventHandler(Backup_ServiceOutput); But no result. Regards, Rakesh Singh. http://www.4colordesign.com --

Re: [Firebird-net-provider] Writer block reader issue

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 13:47, MartinT <[EMAIL PROTECTED]> wrote: > Hi Jiri and thanks for your reply. What does the > FbTransactionBehavior.RecVersion do in laymans terms? It's doing what you've asking for. It's using tpb_rec_version for transaction "configuration". -- Jiri {x2} Cincura (CTO x2

Re: [Firebird-net-provider] How to stop all other database connections

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 13:48, MartinT <[EMAIL PROTECTED]> wrote: > can i shutdown the database programmatically from all users but one? You can use DatabaseShutdown from FbConfiguration class. The sysdba or database owner should be able to connect when DB is in single shutdown. -- Jiri {x2} Cin

Re: [Firebird-net-provider] How to stop all other database connections

2008-11-17 Thread MartinT
Hi Jiri can i shutdown the database programmatically from all users but one? thanks Jiri Cincura wrote: > > Best way is to shutdown database. > > > -- > Jiri {x2} Cincura (CTO x2develop.com) > http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com > > --

Re: [Firebird-net-provider] Writer block reader issue

2008-11-17 Thread MartinT
Hi Jiri and thanks for your reply. What does the FbTransactionBehavior.RecVersion do in laymans terms? Jiri Cincura wrote: > > On Mon, Nov 17, 2008 at 12:15, MartinT <[EMAIL PROTECTED]> wrote: >> I am now following this up to try and bring this to a conclusion. I >> emailed >> IBReplicator agai

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Jiri Cincura
> Is it possible that the weekly build is not compiled with a "full" EF > configuration ? >edmgen /mode:FullGeneration /provide r:FirebirdSql.Data.FirebirdClient /connectionstring:"data source=localhost;initi al catalog=rrr.fdb;user id=sysdba;password=masterkey" /project:Kuk Microsoft (R) EdmGen v

Re: [Firebird-net-provider] How to stop all other database connections

2008-11-17 Thread Mercea Paul
> hello > > i want to add some functionality to our application which will allow a user > to alter the metadata of the database. before this happens i want to run > some code which will ensure that all other users have been kicked out and > are no longer accessing the Firebird 2.1 db. i was wonder

Re: [Firebird-net-provider] Writer block reader issue

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 12:15, MartinT <[EMAIL PROTECTED]> wrote: > I am now following this up to try and bring this to a conclusion. I emailed > IBReplicator again and the developer told me that in Interbase and Firebird > writers don't lock readers. He said that I should add tpb_rec_version to my

Re: [Firebird-net-provider] How to stop all other database connections

2008-11-17 Thread Jiri Cincura
Best way is to shutdown database. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the c

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
and here is the result with edmgen: C:\WINDOWS\Microsoft.NET\Framework\v3.5>edmgen /project:gesstock /language:CShar p /mode:FullGeneration /provider:FirebirdSql.Data.FirebirdClient /connectionstri ng:"data source=127.0.0.1;initial catalog=c:\stockpro.fdb;user id=sysdba;passwor d=masterkey\"" M

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
If it helps, here is the generated .edmx (as is: no modifications from me) Thierry  http://schemas.microsoft.com/ado/2007/06/edmx";> http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator"; xmlns="http://schemas.microsoft.com/ado/2006/04/edm/ssdl";>

[Firebird-net-provider] Writer block reader issue

2008-11-17 Thread MartinT
I created a thread a while back regarding problems with writers blocking readers and IBReplicator http://www.nabble.com/Question-for-.NET-Provider-Author-re-transaction-conflict-to16733863.html#a16758487 here . I am now following this up to try and bring this to a conclusion. I emailed IBReplica

[Firebird-net-provider] How to stop all other database connections

2008-11-17 Thread MartinT
hello i want to add some functionality to our application which will allow a user to alter the metadata of the database. before this happens i want to run some code which will ensure that all other users have been kicked out and are no longer accessing the Firebird 2.1 db. i was wondering what th

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
Jiri Cincura a écrit : > On Mon, Nov 17, 2008 at 11:37, Tetram Corp <[EMAIL PROTECTED]> wrote: > >> Is the Provider supposed to work when using VS wizard, or was it only tested >> with edmgen ? >> > > Both VS and EdmGen. In fact both tools are using same API. > > ok do you think it's

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Jiri Cincura
On Mon, Nov 17, 2008 at 11:37, Tetram Corp <[EMAIL PROTECTED]> wrote: > Is the Provider supposed to work when using VS wizard, or was it only tested > with edmgen ? Both VS and EdmGen. In fact both tools are using same API. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.vyvojar.cz/jirka/

Re: [Firebird-net-provider] Entity Model

2008-11-17 Thread Tetram Corp
Hi, as I thought, other dll were from personal builds of provider. To be sure, I deleted them, sources etc of provider I just left the weekly build one (the only remaining are in provider setup dir, and in c:\windows\assembly\gac_msil\..., which are the same) I force a reinstallation via gacutil

Re: [Firebird-net-provider] Unable restore database in Embedded mode

2008-11-17 Thread Pham Huu Le Quoc Phuc
Thanks Stefan, I'm trying your advises. -Original Message- From: Stefan Schultze [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 15:32 To: 'For users and developers of the Firebird .NET providers' Subject: Re: [Firebird-net-provider] Unable restore database in Embedded mode Hi

Re: [Firebird-net-provider] Unable restore database in Embedded mode

2008-11-17 Thread Stefan Schultze
Hi Pham, I was also never able to get backing up, restoring, fixing etc. to work *reliably* in FB Embedded / .NET Provider. Thread.Sleep(1) can't be a solution, you never know how long you'd have to wait. Here's a working! workaround: * Download Firebird Server * Extract gfix.exe and gbak.

Re: [Firebird-net-provider] Unable restore database in Embedded mode

2008-11-17 Thread Carlos
Hello: > It not show any exception or error, it not restore. Please, use the ServiceOutput event, to check what is being done by the firebird server. -- Carlos Guzmán Álvarez Vigo-Spain http://carlosga.wordpress.com - Th