From: Sergio <se...@gm...> - 2009-08-20 09:55:19
|
Hello! I'm trying to use dotnet provider for Compact Framework... To do this, i'm using library: FirebirdClient - Compact Framework (version 2.5.0) (File size: 333 312 bytes file date: 17.05.2009) dll file is in the same folder with exe file. But compiled application raises an exception: Unable to load type "FirebirdSql.Data.FirebirdClient.FbConnection" from "FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral, PublicKeyToken=3750ABCC3150B00C". Please, help me to solve this problem... |
From: Sergio <se...@gm...> - 2009-08-20 13:02:46
|
i tried also to compile this library myself... But it doesn't want to compile: d:\SECURITY\FIREBIRD_STABLE\netprovider\source\FirebirdSql\Data\Common\DbField.cs(499,10): warning CS1030: #warning: 'What about using TypeHelper.GetSystemDataTypeName?' d:\SECURITY\FIREBIRD_STABLE\netprovider\source\FirebirdSql\Data\Client\Managed\Version10\GdsEventManager.cs(196,75): error CS0305: Using the generic type 'System.Action<T>' requires '1' type arguments c:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\mscorlib.dll: (Location of symbol related to previous error) |
From: Sergio <se...@gm...> - 2009-08-22 21:43:55
|
please, help me to resolve this problem... Firebird dot net connector for compact framework doesn't work :( It raises an error: "Could not load type 'FirebirdSql.Data.FirebirdClient.FbConnection' from assembly 'FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral, PublicKeyToken=3750ABCC3150B00C'." |
From: Jiri C. <di...@ci...> - 2009-08-22 21:54:18
|
On Thu, Aug 20, 2009 at 11:35, Sergio<se...@gm...> wrote: > Hello! > I'm trying to use dotnet provider for Compact Framework... > > To do this, i'm using library: > FirebirdClient - Compact Framework (version 2.5.0) > (File size: 333 312 bytes > file date: 17.05.2009) > > dll file is in the same folder with exe file. > But compiled application raises an exception: > Unable to load type "FirebirdSql.Data.FirebirdClient.FbConnection" from > "FirebirdSql.Data.FirebirdClient, Version=2.5.0.0, Culture=neutral, > PublicKeyToken=3750ABCC3150B00C". > > Please, help me to solve this problem... Are you sure you're using same library for compile and for run? Looks like not. Looks like you have proper version for compile, but something different for run. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |
From: Sergio <se...@gm...> - 2009-08-22 22:02:02
|
Yes, i'm sure that i use the same library... I have only one file FirebirdSql.Data.FirebirdClient.dll ( version 2.5.0 File size: 333 312 bytes file date: 17.05.2009 MD5: fce5f32951b905696fabf76b1ad78f63 ) and this library (with this MD5 checksum) is on the Pocket PC in the same directory as executable file "Jiri Cincura" <di...@ci...> wrote : news:d2f...@ma...... > On Thu, Aug 20, 2009 at 11:35, > Sergio<se...@gm...> wrote: > Are you sure you're using same library for compile and for run? Looks > like not. Looks like you have proper version for compile, but > something different for run. |
From: Jiri C. <di...@ci...> - 2009-08-22 22:07:57
|
On Sun, Aug 23, 2009 at 00:00, Sergio<se...@gm...> wrote: > Yes, i'm sure that i use the same library... I have only one file > FirebirdSql.Data.FirebirdClient.dll > ( > version 2.5.0 > File size: 333 312 bytes > file date: 17.05.2009 > MD5: fce5f32951b905696fabf76b1ad78f63 > ) > and this library (with this MD5 checksum) is on the Pocket PC in the same > directory as executable file Are you able to run it directly from VS attached to device/emulator (or deploy it from VS and then manually run)? If not, something is wrong with your environment. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |
From: Sergio <se...@gm...> - 2009-08-22 22:13:58
|
> Are you able to run it directly from VS attached to device/emulator > (or deploy it from VS and then manually run)? If not, something is > wrong with your environment. > i tried to debug project directly from VS 2005 and VS2008 (attached to device).... the same problem.. Also i tried to reinstall Windows and VS2008 (clear machine) - the same problem :( Hard reset pocket pc -> rebuild an redeploy project from VS -> the same problem |
From: Sergio <se...@gm...> - 2009-08-25 13:00:11
|
"Jiri Cincura" <di...@ci...> ???????/???????? ? ???????? ?????????: news:d2f...@ma...... > On Tue, Aug 25, 2009 at 14:03, > Sergio<se...@gm...> wrote: >> what are these conditional symbols? >> > > http://msdn.microsoft.com/en-us/library/0feaad6z(VS.80).aspx > >> >> can you build (not now, later) this library into CF 2.0? >> (and put it on sourceforge.net like net connector for framework 2.0) > > I don't think so. I'm busy right now. ok, thanks anyway! |
From: Sergio <se...@gm...> - 2009-08-23 11:07:17
|
"Sergio" <se...@gm...> ???????/???????? ? ???????? ?????????: news:h6pqi1$kq9$1...@ge...... > >> Are you able to run it directly from VS attached to device/emulator >> (or deploy it from VS and then manually run)? If not, something is >> wrong with your environment. >> > > i tried to debug project directly from VS 2005 and VS2008 (attached to > device).... the same problem.. > > Also i tried to reinstall Windows and VS2008 (clear machine) - the same > problem :( > > Hard reset pocket pc -> rebuild an redeploy project from VS -> the same > problem it doesn't work neither on emulator nor on device (with different OS: WM2003/ WM5.0) :( |
From: Jiri C. <di...@ci...> - 2009-08-23 11:45:14
|
Tested right now: VS2008, downloaded CF build, simple WinForms app creating just FbConnection, .NET CF 3.5 on device WM5,6,6.1, deploy from VS and it works like a charm. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |
From: Sergio <se...@gm...> - 2009-08-23 18:26:05
|
CF 3.5? huh... i'm stupid idiot..... i tried only with CF 2.0 Ok, it really works under CF 3.5! And what about 2.0? Can it work under CF 2.0? "Jiri Cincura" <di...@ci...> ???????/???????? ? ???????? ?????????: news:d2f...@ma...... > Tested right now: > VS2008, downloaded CF build, simple WinForms app creating just > FbConnection, .NET CF 3.5 on device WM5,6,6.1, deploy from VS > and it works like a charm. > > -- > Jiri {x2} Cincura (CTO x2develop.com) > http://blog.cincura.net/ | http://www.ID3renamer.com > > ------------------------------------------------------------------------------ > 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 > |
From: Jiri C. <di...@ci...> - 2009-08-23 19:30:22
|
On Sun, Aug 23, 2009 at 20:24, Sergio<se...@gm...> wrote: > Can it work under CF 2.0? If you build it for 2.0 then yes. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |
From: Sergio <se...@gm...> - 2009-08-25 07:39:27
|
Jiri, thank you very much for your help!! and the last question: i changed build.bat file: set CSC=c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe (this is a correct path to csc.exe) set NETCFLIBS="c:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE" (and this is a correct path to framework 2.0 libraries) BUT, it doesn't builds: d:\firebird\NETProvider\source\FirebirdSql\Data\Common\DbField.cs(499,10): warning CS1030: #warning: 'What about using TypeHelper.GetSystemDataTypeName?' d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version10\GdsConnection.cs(74,40): error CS0501: 'FirebirdSql.Data.Client.Managed.Version10.GdsConnection.IPAddress.get' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version10\GdsConnection.cs(74,53): error CS0501: 'FirebirdSql.Data.Client.Managed.Version10.GdsConnection.IPAddress.set' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version11\AuthResponse.cs(29,30): error CS0501: 'FirebirdSql.Data.Client.Managed.Version11.AuthResponse.Data.get' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version11\AuthResponse.cs(29,43): error CS0501: 'FirebirdSql.Data.Client.Managed.Version11.AuthResponse.Data.set' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version11\GdsDatabase.cs(50,59): error CS0501: 'FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.DeferredPackets.get' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\Client\Managed\Version11\GdsDatabase.cs(50,72): error CS0501: 'FirebirdSql.Data.Client.Managed.Version11.GdsDatabase.DeferredPackets.set' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\FirebirdClient\FbTransactionOptions.cs(38,60): error CS0501: 'FirebirdSql.Data.FirebirdClient.FbTransactionOptions.TransactionBehavior.get' must declare a body because it is not marked abstract or extern d:\FBNETProvider\source\FirebirdSql\Data\FirebirdClient\FbTransactionOptions.cs(38,65): error CS0501: 'FirebirdSql.Data.FirebirdClient.FbTransactionOptions.TransactionBehavior.set' must declare a body because it is not marked abstract or extern how to build this project using CF 2.0? |
From: Jiri C. <di...@ci...> - 2009-08-25 08:20:29
|
On Tue, Aug 25, 2009 at 09:37, Sergio<se...@gm...> wrote: > i changed build.bat file: This is no longer maintained. I'm building it from cmd copying it from normal VS build and changing paths and conditional symbols. But it takes some time. :( -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |
From: Sergio <se...@gm...> - 2009-08-25 12:06:08
|
>> i changed build.bat file: > > This is no longer maintained. i'm sad about it... :( > I'm building it from cmd copying it from > normal VS build and changing paths and conditional symbols. But it > takes some time. :( what are these conditional symbols? can you build (not now, later) this library into CF 2.0? (and put it on sourceforge.net like net connector for framework 2.0) it would be really great! Thank you for your help! |
From: Jiri C. <di...@ci...> - 2009-08-25 12:36:19
|
On Tue, Aug 25, 2009 at 14:03, Sergio<se...@gm...> wrote: > what are these conditional symbols? > http://msdn.microsoft.com/en-us/library/0feaad6z(VS.80).aspx > > can you build (not now, later) this library into CF 2.0? > (and put it on sourceforge.net like net connector for framework 2.0) I don't think so. I'm busy right now. -- Jiri {x2} Cincura (CTO x2develop.com) http://blog.cincura.net/ | http://www.ID3renamer.com |