PC Review


Reply
Thread Tools Rate Thread

Cannot create SQL database in WinCE

 
 
=?Utf-8?B?THVpc0M=?=
Guest
Posts: n/a
 
      8th Nov 2004
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

 
Reply With Quote
 
 
 
 
Alex Feinman [MVP]
Guest
Posts: n/a
 
      8th Nov 2004
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
>



 
Reply With Quote
 
=?Utf-8?B?THVpc0M=?=
Guest
Posts: n/a
 
      8th Nov 2004
The app was deployed using Visual Studio. The app is still in its early stage
of development. Thanks.

Bert

"Alex Feinman [MVP]" wrote:

> 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
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create setup for WinCE andreja.varnost@gmail.com Microsoft Dot NET Compact Framework 5 10th Jun 2008 06:32 AM
To create a winCE application in c#..... but can not be debugged in emulator! KV Microsoft Dot NET Compact Framework 1 24th Feb 2005 03:23 PM
Create Menusystem using ListView in WinCE Frank Dietrich Microsoft Dot NET Compact Framework 2 11th Jan 2005 03:14 PM
how to create a WinCE 4.2 application using Visual Basic Helix Microsoft Dot NET Compact Framework 2 16th Jul 2004 04:53 PM
i want a c# database sample running in PPC or WinCE Stone Zou Microsoft Dot NET Compact Framework 1 28th Jul 2003 10:20 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:21 AM.