Did you actually install SQL CE on the device? Try deplying your app to the
device yusing Visual Studio. That will ensure that you have it on the device
--
Alex Feinman
---
Visit
http://www.opennetcf.org
"LuisC" <(E-Mail Removed)> wrote in message
news:5C38693D-809A-437A-B51D-(E-Mail Removed)...
> Hi,
>
> My program tried to create an sql database (.SDF) in a WinCE and it gives
> me
> a 'An Unexpected error has occured in <myprogram.exe>". When I clicked the
> "details" button of the error-box, it says "Error,
> MissingMethodException --
> SqlCeEngine::.ctor+0x28, <programname>::createdatabase+0x84,
> Form::Onload+0x15". However, it works fine if use the emulator. I tried to
> run my old working Pocket Pc apps and it gives me the same error. Any
> help
> would be appreciated. Thanks
>
> Bert
>