Re: Fatal Application Exception
From: Darren Shaffer (darrenshaffer_at_discussions.microsoft.com)
Date: 11/09/04
- Next message: angel: "pls help me on this matter....LNK2019"
- Previous message: Darren Shaffer: "Re: Can Pocket PC Windows Application connect to SQL Server Directly?"
- In reply to: pillars: "Fatal Application Exception"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 21:43:12 -0700
Can you post the code you are using to synch when you do establish
a network connection? There is something in your code that selects the
records
to send from SQL CE or whatever you do to SQL CE after sending those records
that is probably causing the stack overflow. Could you be opening a new
SqlCeDataReader
every 5 minutes and never disposing of them?
-Darren
"pillars" <pillars@csc.com.questions> wrote in message
news:F8704244-2C29-46CF-B2F0-733087C3A1CB@microsoft.com...
>I have been developing an application in Windows CE.Net using the .Net
> Compact Framework and C#. Data is saved to a local Sql Server CE database
> and
> then transferred wirelessly to a central server. The device has to open a
> connection every 5 minutes, transfer all records and then disconnect.
>
> I have been running tests to verify the capacity of the database, if, for
> example, the network goes down and transfers cannot be made. I have
> disabled
> the device from connecting to the network (although it will still try
> every 5
> minutes) and have built the number of records up to about 10,000 records.
> At
> this point, a Fatal Application Error message is raised, saying that the
> application has performed an illegal operation and giving the Exception as
> 0Xc00000fd. Doing a quick search on Googal shows this to be a stack
> overflow
> error.
>
> I have not been to catch the error during a debug session. There seems to
> be
> no specific point at which this error occurs.
>
> Thinking that the error was down to lack of memory, I have adjusted the
> breakdown of RAM between the Object Store and program memory, giving the
> program memory an extra 10mb to play with. This has had no effect and the
> application still crashes, before the extra memory is anywhere near used
> up.
>
> Is this error down to memory or something else?
>
> Any help would be most appreciated.
- Next message: angel: "pls help me on this matter....LNK2019"
- Previous message: Darren Shaffer: "Re: Can Pocket PC Windows Application connect to SQL Server Directly?"
- In reply to: pillars: "Fatal Application Exception"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|