Hi Daniele,
Have you tried using a database alias instead of the absolute path ?
Actually I'm using with success something like this :
FirebirdSql.Data.FirebirdClient.FbConnection cb = new
FirebirdSql.Data.FirebirdClient.FbConnection("character
set=WIN1252;datasource=192.168.0.1;initial
catalog=AliasDatabase;userid=SYSDBA;password=masterkey;pooling=true")
Running fine on WinCE, WinMobile 5,6
Regards
--
Mocte
"Daniele" <[email protected]> wrote in message
news:[email protected]...
> Hello world,
> with connector in object i tryed to connected my application writed in
> C# CF 2.0, that runs on WinMobile 6.1 Pro, at Firebird 2.1 server on
> server machine but received un error: MissingMethodException.
>
> I used Visual Studio 2005 Professional to compile application, i
> referenced FirebirdSql.Data.FirebirdClient.dll (CF) in my project end
> trasfered dll, exe end pdb on handled. The code of application is this:
>
> using System;
> using System.Collections.Generic;
> using System.ComponentModel;
> using System.Data;
> using System.Drawing;
> using System.Text;
> using System.Windows.Forms;
> using FirebirdSql.Data.FirebirdClient;
>
> namespace testfirebird
> {
> public partial class Form1 : Form
> {
> public Form1()
> {
> InitializeComponent();
> }
>
> private void button1_Click(object sender, EventArgs e)
> {
> FirebirdSql.Data.FirebirdClient.FbConnection cb = new
> FirebirdSql.Data.FirebirdClient.FbConnection("Data
> Source=192.168.0.1;ServerType=0;User=xxxxxxx;Password=xxxxxxx;Database=C:/Programmi/Firebird/Firebird_2_1/TEST.FDB;port=3050");
>
>
> I have also tried
> //cb.ConnectionString = "Data
> Source=192.168.0.1;ServerType=0;User=xxx;Password=xxx;Database=*test.fdb*;port=3050";
>
> try
> {
> cb.Open(); // here exeception
> textBox1.Text = "Connessione riuscita";
> cb.Close(); }
> catch (Exception ex)
> {
> textBox1.Text = ex.Message; }
> }
> }
> }
>
> Help me please !
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Firebird-net-provider mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider