Hi Guys,
I'm trying to test using the FB net provider on a windows mobile 5
device with an app developed in .NET Compact Framework 2.0
I downloaded the provider from the website, NETProvider-2.5.2-CF.7z
which contains only the file FirebirdSql.Data.FirebirdClient.dll
I've added this as a reference in my mobile project and it all works and
compile well. (for the moment I've created a simple test project just to
test the FB client)

I've copied the test program and the dll onto the device, and when I run
it, I get the following error:

Could not load type 'FirebirdSql.Data.FirebirdClient.FbConnection' from
assembly 'FirebirdSql.Data.FirebirdClient, Version -2.5.2.0,
Culture=neutral,PublicKeyToken=2750ABCC3150B00C'.


The code I'm using is

DataSet dSet = new DataSet();
                FirebirdSql.Data.FirebirdClient.FbConnection conn = new
FirebirdSql.Data.FirebirdClient.FbConnection("Server=1.1.1.1;Database=eg
.gdb;UserID=xxxx;Password=xxxx");
                conn.Open();
                FbDataAdapter adapter = new FbDataAdapter();
                adapter.SelectCommand = new FbCommand("select * from
TEST", conn);
                adapter.Fill(dSet);

I've also downloaded the code, but there doesn't seem to be a mobile
project, so to build the .NET CF dll I'd have to make a bnew project and
import the source files. 

Any ideas?
Thanks,
Matt
WARNING: This email and any attachments may be confidential and subject
to copyright. If you are not the intended recipient, you must not
disclose or use the information contained in this email. If you have
received this email in error, please notify the sender and permanently
delete the email immediately. Linfox Pty Ltd and its related
companies do not warrant that this email and any attachments are free of
errors, viruses or tampering by third parties, and will not be
responsible for loss or damage resulting (either directly or indirectly)
from any such error, virus or tampering. If this is a commercial email
within the meaning of the Spam Act, you may unsubscribe from future
commercial emails by emailing unsubscr...@linfox.com


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to