Home > Archive > SQL Anywhere ultralite > September 2005 > Installing Ultralite app on Pocket PC device









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Installing Ultralite app on Pocket PC device
Madhu Siddalingaiah

2005-09-20, 11:23 am


Hi,

I've tested my C# app with the Pocket PC simulator and it works fine.
I'm trying to install it on a physical device.
I copied the executable (ERx.exe) to the device, but I get the following
error:

ERx.exe TypeLoadException Could not load type
iAnywhere.Data.Ultralite.ULConnection from assembly
iAnywhere.Data.UltraLite Version=9.0.2.3044 ...

I tried installing ulnet9.dll and the usm file in the same directory,
but that didn't seem to help.

What am I missing?
Madhu Siddalingaiah

2005-09-20, 11:23 am


OK, I deployed to the device using Visual Studio which installs a couple
of DLLs that I probably needed. Now I get:

ERx.exe
MissingMethodExcepti
on

ULDatabaseManager::F
inalize+0x1b

I'm running version 9.0.2.3044

It sounds like something is out of date, I got a warning about that when
the app was installed.

Madhu Siddalingaiah wrote:
>
> Hi,
>
> I've tested my C# app with the Pocket PC simulator and it works fine.
> I'm trying to install it on a physical device.
> I copied the executable (ERx.exe) to the device, but I get the following
> error:
>
> ERx.exe TypeLoadException Could not load type
> iAnywhere.Data.Ultralite.ULConnection from assembly
> iAnywhere.Data.UltraLite Version=9.0.2.3044 ...
>
> I tried installing ulnet9.dll and the usm file in the same directory,
> but that didn't seem to help.
>
> What am I missing?

Philippe Bertrand

2005-09-20, 1:23 pm

You need:
ultralite\UltraLite.NET\ce\iAnywhere.Data.UltraLite.dll
ultralite\UltraLite.NET\ce\en\iAnywhere.Data.UltraLite.resource.dll
ultralite\UltraLite.NET\ce\arm\ulnet9.dll <- make sure you switch to the
arm version
<VStudio> \CompactFrameworkSDK
\v1.0.5000\Windows CE\System.Data.Common.dll

--
- Philippe Bertrand
iAnywhere Solutions, Inc.

Please include in your subject line what UltraLite API are you using
(I.E. UltraLite.NET, Native UltraLite for Java, Embedded SQL, C++,
(pure) Static Java UltraLite, etc.). Please include version and BUILD
numbers in your post.


Madhu Siddalingaiah

2005-09-20, 8:23 pm


That did it, I was using the wrong version of ulnet9.dll

Thanks!!

Philippe Bertrand wrote:
> You need:
> ultralite\UltraLite.NET\ce\iAnywhere.Data.UltraLite.dll
> ultralite\UltraLite.NET\ce\en\iAnywhere.Data.UltraLite.resource.dll
> ultralite\UltraLite.NET\ce\arm\ulnet9.dll <- make sure you switch to the
> arm version
> <VStudio> \CompactFrameworkSDK
\v1.0.5000\Windows CE\System.Data.Common.dll
>

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com