|
|
|
date: Fri, 8 Aug 2008 10:45:47 +0200,
group: microsoft.public.sqlserver.ce
back
Re: Problem in opening connection with SQLCE3.5
When the connection fails to open, actually examine the exception that is
thrown by the Open operation and see what that's telling you. There's no
good reason to believe, based on what you've told us, that a timeout is
happening.
If there's no memory, nothing other than using less memory is going to help.
You could dump the .NET CF and write C/C++ code using OLE DB, I think,
although I've never done that. You could try adjusting the Memory settings
on the Memory Control Panel applet for the device to give more memory to the
programs and less for storage. You could stop running some of the programs
that you have running.
There's little or not swapping going on. Windows CE does not support a
'paging' file, so no data is *ever* swapped out.
Paul T.
"arnodieter" wrote in message
news:g7h13j$isr$03$1@news.t-online.com...
> I've written an application for inventory and price enquiry. The
> application is written in c# using VS2008, .NetCF2.0 and SQLCE3.5. The
> device where the application must run is a Symbol/Motorola MC1000 which
> has very poor performance and very little memory.
> Sometimes the connection doesn't open. It seems to me, that the device is
> "swapping memory" and therefor needs longer than the sqlce-server aspects.
> - Who can I workaround these problems?
> - Why is the timeout-property of the connection read-only and defaults to
> "0"?
>
> Thanks in advance
>
>
date: Mon, 11 Aug 2008 11:02:54 -0700
author: Paul G. Tobey [eMVP] p space tobey no spam AT no instrument no spam DOT com
|
|