From: JS.staff <jsp...@ec...> - 2004-02-19 12:04:54
|
I seem to be getting problems using the following code: FbValidation val =3D new FbValidation(); val.UserName =3D "SYSDBA"; val.UserPassword =3D "masterkey"; val.Database =3D "mytest"; val.Options =3D FbValidationFlags.ValidateDatabase; val.Start(); // *** exception here with pooling try { string s; while ((s =3D val.GetNextLine()) !=3D null) { textBox1.Text +=3D s; } } finally { val.Close(); } If I run this when the app starts, it's fine. But following opening a connection with Pooling enabled, it raises a FbException in 'val.Start()', "No message for code 5 found". If I turn pooling off, it works fine. Interestingly, even if I wait for the pooled connection to be closed, and try the code again, it still fails.... Thanks, John |