|
Home > Archive > SQL Anywhere ultralite > March 2006 > UltraLite Demo on Win CE - TypeLoadException
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 |
UltraLite Demo on Win CE - TypeLoadException
|
|
| Michael Schwarzer 2006-02-28, 8:27 pm |
| What do I need to start the UltraLite.NET User'S Guide
programm on a handheld device?
I did the UltraLite.NET User's Guide using VS2003 and the
application runs correctly in the emulator.
Then I copy the CSApp.exe and iAnywhere.Data.UltraLite.dll
to a handheld device and I get a TypeLoadException from
t.message in catch(). The form appears. After closing the
application I got following details on that error:
" Error
CSApp.exe
MissingMethodExcepti
on
ULDatabaseManger::Fi
nalize+0x1b "
Without iAnywhere.Data.UltraLite.dll copied the form doesn't
show at all and I get a TypeLoadException with the
following Infos:
"[...]TypeLoadException
Could not load type
iAnywhere.Data.UltraLite.ULConnectionParms from assembly
iAnywhere.Data.UltraLite, Version=9.0.2.2451,
Culture=neutral PublicKeyToken=[...]"
Can anyone help?
| |
| Tom Slee 2006-02-28, 8:27 pm |
| You must also copy the ulnet9.dll library to the device. Make sure you
copy the one from ultralite.net\ce\arm, and not the one from
ultralite.net\ce\x86, which is the one that is used for the emulator.
Tom Slee
iAnywhere product management
Michael Schwarzer wrote:
> What do I need to start the UltraLite.NET User'S Guide
> programm on a handheld device?
>
> I did the UltraLite.NET User's Guide using VS2003 and the
> application runs correctly in the emulator.
>
> Then I copy the CSApp.exe and iAnywhere.Data.UltraLite.dll
> to a handheld device and I get a TypeLoadException from
> t.message in catch(). The form appears. After closing the
> application I got following details on that error:
> " Error
> CSApp.exe
> MissingMethodExcepti
on
> ULDatabaseManger::Fi
nalize+0x1b "
>
> Without iAnywhere.Data.UltraLite.dll copied the form doesn't
> show at all and I get a TypeLoadException with the
> following Infos:
> "[...]TypeLoadException
> Could not load type
> iAnywhere.Data.UltraLite.ULConnectionParms from assembly
> iAnywhere.Data.UltraLite, Version=9.0.2.2451,
> Culture=neutral PublicKeyToken=[...]"
>
> Can anyone help?
| |
| Michael Schwarzer 2006-03-05, 8:29 pm |
| Thanks. Worked.
PS: Sorry for spamming.
> You must also copy the ulnet9.dll library to the device.
> Make sure you copy the one from ultralite.net\ce\arm, ...
|
|
|
|
|