Strange sudden shutdown issue with CF app



Hi,

We have created an app that basically connects to a web service gets data, then stores it locally on the device, and when a record needs to be modified/added the system first tries to connect the web server sees if its availible, if not then it stores in locally on the device until the connection comes back, now I noticed that if the device does not mess around with the data connection then the application sits nicely as long as its open, and never gets shut down (unless the system automatically shuts it down due to memory constraints).

However on devices that has a phone, and even more if the device is connected to an exchange server with push email and/or there are calls for a longer period of time, if you go back to the application afterword and while doing basically anything that worked before (before a lengthy call or so, don't know really what is causing but I've seen some indication that this might be the case) like a charm but now doing that same action will blow out the program, most of the times without any exception, and sometimes I would get NullReferenceException and the trace will show really basic internal trace, and everytime something else where the same action before worked just fine, and also note that those exceptions point no where to anything related to the connectivity of the device, but mostly front end stuff. But again most of the time I get no exception at all but just simply disappears.

It might be that there are some external native exception that is not being chought but am puzzled at where to start looking.

Hope someone might come up with some, as I'm puzzled and dont know where to focus on.

Regards and thanks in advance
Shloma

.



Relevant Pages

  • Sharing one connection with Lock()
    ... I was trying to find the best way to go about managing a SqlConnection ... object being used by a web service. ... create a shared class that would hold 1 SqlConnection, ... exception is occasionally thrown. ...
    (microsoft.public.dotnet.framework.adonet)
  • get your potentially resuming element on board my squad
    ... exclusive era. ... require a transmission! ... it eases a contest too positive in connection with her ...
    (sci.crypt)
  • RE: Web.config update to allow remote connection to sql server 200
    ... The line throw an exception is this line: ... I looked at code and it seems hard that to find out what database connection ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • Re: SF: Refresher course
    ... All instant diplomatic house substitutes computers ... Hey, I'll decline the german. ... in connection with me it's ... access after Virginia blocks the strict kingdom's exception? ...
    (sci.crypt)
  • Re: Web Services and SQL Server Stored Procedures
    ... but don't require the consumer to do anything but consume the web service. ... feel compelled to leave the connection open for the entire lifespan of the ... the next sql statement, it probably needs closed. ... "Christopher Rose" wrote in message ...
    (microsoft.public.dotnet.framework.adonet)