Re: [Firebird-net-provider] FirebirdClient.FbRestore (.Net) restores always only 1064KB

2011-01-08 Thread Takeshi Kabuto
No, using gbak with -se service_mgr, then the restore works fine, with the correct size. The C# code that I use is simple and in a basic console application. I use VS 2010 and .Net 4.0: FbRestore restore = new FbRestore(); restore.ConnectionString = conStr; restore.BackupFiles.Add(n

Re: [Firebird-net-provider] Using FBEmbeded in ASP.NET

2011-01-08 Thread Adrián Avila Mtz .
I do it by code: public static FbConnection GetConexion () { string path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); string pathFbEmbedded = System.IO.Path.Combine(path, @"FB\fbembed.dll"); FbConnectionStringBuilder sb = new FbCo

Re: [Firebird-net-provider] Using FBEmbeded in ASP.NET

2011-01-08 Thread Jiri Cincura
On Sat, Jan 8, 2011 at 20:14, Mercea Paul wrote: > Until now I was know the full path to specify the clientlibrary but now You don't have to. If the fbembed.dll is in some well known path, the system will load it for you. > I have a solution that can be installed in different locations. > How ca

[Firebird-net-provider] Using FBEmbeded in ASP.NET

2011-01-08 Thread Mercea Paul
Hi I know I can use |DataDirectory|mydatabase.fdb to specify location for database but, when i use the embeded firebird, in connection string i specify the servertype and clientlibrary! If i use for clientlibrary |DataDirectory|\fbembed.dll i get error. Until now I was know the full path to spe

Re: [Firebird-net-provider] FirebirdClient.FbRestore (.Net) restores always only 1064KB

2011-01-08 Thread Jiri Cincura
If you use gbak via service_mgr is the backup same size? -- Jiri {x2} Cincura (x2develop.com founder) http://blog.cincura.net/ | http://www.ID3renamer.com -- Gaining the trust of online customers is vital for the success

[Firebird-net-provider] FirebirdClient.FbRestore (.Net) restores always only 1064KB

2011-01-08 Thread Takeshi Kabuto
I am using Firebird 2.5 and Firebird ADO for .Net 4.0. In my develop machine, when I restore a database using FbRestore class, everything works fine. When I use the same application but in my Web server, the FDB file created always has 1064,960 bytes as size. I have used different FBK files, but t

Re: [Firebird-net-provider] FBUserData create new

2011-01-08 Thread Jiri Cincura
On Sat, Jan 8, 2011 at 14:14, Rick Roen wrote: > What is the RoleName used for here? It does nothing. It's in API, but currently it's not wired on server to anything. > How do I add this user to a Role? You're not adding users to roles. Users are using roles. It's not the same as groups in OSs,

[Firebird-net-provider] FBUserData create new

2011-01-08 Thread Rick Roen
FBClient 2.5.2 Firebird 2.5.0.26074 I use this code to create a new user: Dim security As New FirebirdSql.Data.Services.FbSecurity security.ConnectionString = "User ID=Sysdba;Password=masterkey" Dim ud As FirebirdSql.Data.Services.FbUserData = New FirebirdSql.D