Hi, First of all, I´m using :
Windows Vista Service Pack 1 Visual Studio 2008 Professional Edition Microsoft .NET Framework 2.0 and 3.5 Firebird Database Server 1.5 Firebird .NET Data Provider Version 2.5.0 Alpha 2 for Microsoft .NET 3.5 and 2.0 I can succesfully connect and work with data in WinForms applications without any troubles (except by the the Connection dialog which doesn't allow me to use alias instead of a full database path). I'm trying to build a Compact Framework app (targeting CF 3.5), I have added a reference to FirebirdSql.Data.FirebirdClient to the new project, the following line was added to the using section of the form: using FirebirdSql.Data.Client; . I wrote the following code in the Form's Load event : FbConnection conexion = new FbConnection(@"character set=WIN1252;datasource=192.168.1.3;initial catalog=EpisodioPOS_10_FB_15;userid=SYSDBA;password=masterkey;pooling=true") ; conexion.Open(); label1.Text = "Connection opened ..."; conexion.Close(); Just to check that I can conect to the database, but when I try to build the solution, I'm getting the following error : The type 'System.Data.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Of course I have a reference to System.Data (C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\System.Data.dll), So I don't know what could be causing this. It is my first experience with Compact Framework, Can anyone help me please ? Thanks, Mocte ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Firebird-net-provider mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
