From: nschoemaker <nsc...@xp...> - 2005-01-27 11:17:32
|
Hi, Using the 1.7 version. Calling the Execute method of an FbValidation throws an Unhandled exception. This is the code i used: public static void ValidateDatabase() { FbValidation val = new FbValidation(); val.ConnectionString = InitConnectionString(SysdbaUser,SysdbaPassword); val.Options = FbValidationFlags.CheckDatabase; -------------> Also tried Full val.Execute(); } The connection string was: "Port Number=3050;Pooling=True;User Id=SYSDBA;Data Source=localhost;Database=coach3;Max Pool Size=5;Charset=NONE;Password=@UePFa[zb;Min Pool Size=0;Dialect=3" 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded. 'CASTester': Loaded 'D:\projects\Coach 3\CASTester\bin\Debug\CASTester.exe', Symbols loaded. 'CASTester.exe': Loaded 'd:\projects\coach 3\castester\bin\debug\xploration.coach3.dll', Symbols loaded. 'CASTester.exe': Loaded 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll', No symbols loaded. 'CASTester.exe': Loaded 'd:\projects\coach 3\castester\bin\debug\xploration.coach3.servicecontrol.dll', Symbols loaded. 'CASTester.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll', No symbols loaded. 'CASTester.exe': Loaded 'c:\windows\assembly\gac\firebirdsql.data.firebird\1.7.0.22450__fa843d180294369d\firebirdsql.data.firebird.dll', No symbols loaded. 'CASTester.exe': Loaded 'c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll', No symbols loaded. 'CASTester.exe': Loaded 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll', No symbols loaded. An unhandled exception of type 'FirebirdSql.Data.Firebird.FbException' occurred in firebirdsql.data.firebird.dll Additional information: no information of this type available for object specified Unhandled Exception: FirebirdSql.Data.Firebird.FbException: no information of this type available for object specified at FirebirdSql.Data.Firebird.Services.FbService.StartTask() at FirebirdSql.Data.Firebird.Services.FbValidation.Execute() at Xploration.Coach3.Database.CoachConnectionProvider.ValidateDatabase() in d:\projects\coach 3\services\xploration.coach3\coachconnectionprovider.cs:line 275 at CASTester.AppContr.Main() in d:\projects\coach 3\castester\appcontr.cs:line 14The program '[2632] CASTester.exe' has exited with code 0 (0x0). Tia, Nico Schoemaker. |