Re: Fatal Application Exception

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Darren Shaffer (darrenshaffer_at_discussions.microsoft.com)
Date: 11/09/04


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.



Relevant Pages

  • Re: Connection from remote computer to network SQL Server
    ... by default connectin to SQL Express from the network is disabled ... There is no firewall on the W2K machine acting as the SQL server. ... connection works. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Very strange behavior of SQLServer with connection from CGI
    ... this is not a default SQL instance. ... SQL clients use a UDP ... connection to port 1434 to resolve port numbers for named instances. ... You can use the SQL Server Network utility to lock ...
    (microsoft.public.sqlserver.connect)
  • Re: Very strange behavior of SQLServer with connection from CGI
    ... this is not a default SQL instance. ... SQL clients use a UDP ... connection to port 1434 to resolve port numbers for named instances. ... You can use the SQL Server Network utility to lock ...
    (microsoft.public.sqlserver.clustering)
  • Re: Very strange behavior of SQLServer with connection from CGI
    ... this is not a default SQL instance. ... SQL clients use a UDP ... connection to port 1434 to resolve port numbers for named instances. ... You can use the SQL Server Network utility to lock ...
    (microsoft.public.sqlserver.security)
  • Re: Concurrent database access in SQL 2005 Mobile
    ... Please stick to having an "dummy" connection in Open State. ... SQL CE/Mobile has a background thread that flushes the changes ... they run for long hours and we have not seen memory leaks so far. ... then opens his work forms and it's in ...
    (microsoft.public.sqlserver.ce)