From: Samrat G. <sg...@he...> - 2003-11-18 00:29:25
|
Hi again, I was concerned with the OS, XP fails ( conf.Open();) but win 2000 works fine. Regards sguha. -------------------- Hi Carlos, I am using FB 1.5 RC6 with WIN 2000 Pro. I have used FbConfiguration Class (Firebird.NET 1.1 Beta 3) in my .NET application. Private conf As FbConfiguration conf = New FbConfiguration() conf.Database = "x:\xx\xx.fdb" conf.UserName = "sysdba" conf.UserPassword = "masterkey" conf.ServerName = "som.e.i.p" Problem is with this line of code: "If Not conf.State = FbServiceState.Open Then conf.Open()" ..... ..... conf.DatabaseShutdown(FbShutdownMode.Forced, 5) The strangeness is that in Win 2000 Pro with FB 1.5 rc6 and (Firebird.NET 1.1 Beta 3) there is no error. But the moment I change my OS to Win XP Home Edition - rest configs same, this error appears. "No message for code 472 found.No message for code 243 found." Can you help me why this error is occurring in WIN XP home edition? Regards, sguha. From: <carlosga@te...> Re: FbConfigurationManager Class 2003-11-17 00:30 Hello: > I am using FB 1.5 RC6 with WIN 2000 Pro. > I have used FbConfiguration Class (Firebird.NET 1.1 Beta 3) in my .NET > application. > > Private conf As FbConfiguration > conf = New FbConfiguration() > conf.Database = "x:\xx\xx.fdb" > conf.UserName = "sysdba" > conf.UserPassword = "masterkey" > conf.ServerName = "som.e.i.p" I have made a little test and seems to work ( version 1.5 from CVS against Firebird 1.5 RC7 ), the code ( tell to me if it's correct ): FbConfiguration conf = new FbConfiguration(); conf.Database = @"TESTDB.GDB"; conf.ServerName = "localhost"; conf.UserName = "sysdba"; conf.UserPassword = "masterkey"; if (conf.State != FbServiceState.Open) { conf.Open(); } conf.DatabaseShutdown(FbShutdownMode.Forced, 5); -- Best regards Carlos Guzmán Álvarez Vigo-España |