Hi Guys,
I'm using FbValidation on localhost to provide some level of database
repair.
FirebirdSql.Data.Services.FbValidation validation = new
FirebirdSql.Data.Services.FbValidation();
validation.ConnectionString = connectionString;
validation.Options = FbValidationFlags.ValidateDatabase;
validation.ServiceOutput += FirebirdServiceOutput;
validation.Execute();
This works most of the time. However, If I run this after running a 'SET
statistics INDEX indexname;', it throws the exception
"FirebirdSql.Data.FirebirdClient.FbException (0x80004005): bad parameters on
attach or create database".
I'm guessing this happens because the database is currently busy getting
index statistics. Is there a way to check before the Execute() call and
verify that the database is ready to receive the request? If not,
suggestions?
Thanks.
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider