PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework MissingMethodException with SQL CE 2.0

Reply

MissingMethodException with SQL CE 2.0

 
Thread Tools Rate Thread
Old 06-03-2007, 10:10 PM   #1
Juan Santander
Guest
 
Posts: n/a
Default MissingMethodException with SQL CE 2.0


Hello,
I'm building an application for a W2003 Mobile device. I'm using the
framework 1.0 SP3 and SQL Server CE 2.0. The application database is
about 6 Mb and I'm not using any unmanaged libraries or code. The
application is throwing this "MissingMethodException" exception every
once in a while, after some time of use. If the user soft resets the
device the problem disappears for some time, but then after some use
it crashes again with this error.
Anyone have any idea about this? may there be a problem with the
framework or with the SQL CE Libraries?
Thanks for your help.

Juan Santander

  Reply With Quote
Old 11-03-2007, 12:31 PM   #2
Tomer Gabel
Guest
 
Posts: n/a
Default Re: MissingMethodException with SQL CE 2.0

Hello Juan,

Try turning on the loader and interop logs; this could be a sign of memory
issues. I've encountered this problem before with P/Invokes when the JIT
seemed to be running out of memory:
http://www.tomergabel.com/NET+Compa...dException.aspx
(also contains a link to instructions on how to enable the logs.)

Regards,
Tomer Gabel (http://www.tomergabel.com)
Monfort Software Engineering Ltd. (http://www.monfort.co.il)


> Hello,
> I'm building an application for a W2003 Mobile device. I'm using the
> framework 1.0 SP3 and SQL Server CE 2.0. The application database is
> about 6 Mb and I'm not using any unmanaged libraries or code. The
> application is throwing this "MissingMethodException" exception every
> once in a while, after some time of use. If the user soft resets the
> device the problem disappears for some time, but then after some use
> it crashes again with this error.
> Anyone have any idea about this? may there be a problem with the
> framework or with the SQL CE Libraries?
> Thanks for your help.
> Juan Santander
>



  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off