From: Denis D. <fir...@De...> - 2003-07-16 15:33:04
|
Hello, I'm a new user for Firebird.NET.Provider wich seems to be a very good tool for accessing Firebird database. My configuration is : (full detail at the message bottom) Microsoft Visual C# ( Windows XP ) Firebird 1.5.0.3744 Firebird.NET Provider 1.1-alpha2 I've got a problem running a test with NUNIT (see attachement FirebirdTest2.cs) This test ( Firebird.Test2.FirebirdTest2.FirebirdDataSet ) use the EMPLOYEE.FDB sample and try to fill a DataSet ("SELECT * FROM EMPLOYEE") When using this test in a Main( ) procedure, with : FirebirdTest2 Test2 = new FirebirdTest2(); Test2.FirebirdDataSet(); it does work fine. ************* BUT, if running this test with NUNIT, I get the following output : Test 7: Get a DataSet from EMPLOYEE.FDB. Connection opened Transaction started Command ready DataAdapter created DataSet created InvalidCastException: Le cast spécifié n'est pas valide. **************** What can goes wrong ?? Thank you if you have an idea. Full test project can be found at http://DenisDumoulin.net/FirebirdNETProvider/TEST.zip ( NUNIT must be run in this directory : Firebird.Test\bin\Debug using Firebird.Test.dll file ) ( solution entry is FirebirdTest\FirebirdTest.sln for MS C# studio StartUp project is Firebird.TestConsole ) ________________________________ Configuration details : // Microsoft Development Environment 2003, version 7.1.3088 // Microsoft .NET Framwork 1.1, version 1.1.4322 // Firebird version 1.5.0.3744 RC4 (http://prdownloads.sourceforge.net/firebird/Firebird-1.5.0.3744_RC4_win32.z ip?download) // Firebird.NET Provider 1.1-Alpha2 ( 2003-06-23 ) (http://prdownloads.sourceforge.net/firebird/FirebirdNETProvider1.1-Alpha2.e xe?download) // NUnit version 2.0.6 (http://www.nunit.org/files/nunit-v20/Nunit.msi) _________________________________ Best regards, Denis Dumoulin |