none
An error occured - Don´t send - Send

    Question

  • Hi,

    I have a application for Windows Mobile 6 Pocket PC with framework 3.5 and it gets a lot of this framework error dialog witch says that an error occurred in myApp.exe and it want to send it to Microsoft. You know, the dialog with a left button with caption "Don´t send" and right button with caption "Send".

    I don´t understand why I get this while I have Try/Catch everywhere in my code and I also have a global routine that logs the exception to a xml file datatable and send this to a webservice.

    The details for the error does not show any stack info and I don´t understand the detail it want to send to Microsoft.

    Does anyone has any idea how I can track this down?

    Rgds
    Cynkan

    Tuesday, January 27, 2009 8:48 AM

Answers

All replies

  • Hi,

    if you want to disable error reporting, go to the device- menu Start/item Settings, tab System, Item Error reporting, select "Disable Error reporting", click OK button. Done.

    HTH

    Rene Stein


    http://blog.renestein.net Twitter: renestein
    Tuesday, January 27, 2009 12:33 PM
  • Hi,

    I have a application for Windows Mobile 6 Pocket PC with framework 3.5 and it gets a lot of this framework error dialog witch says that an error occurred in myApp.exe and it want to send it to Microsoft. You know, the dialog with a left button with caption "Don´t send" and right button with caption "Send".

    I don´t understand why I get this while I have Try/Catch everywhere in my code and I also have a global routine that logs the exception to a xml file datatable and send this to a webservice.

    The details for the error does not show any stack info and I don´t understand the detail it want to send to Microsoft.

    Does anyone has any idea how I can track this down?

    Wednesday, January 28, 2009 5:27 PM
  • Hi Rene,

    Yes this settings I am aware about but it does not feel good to know that my application create a lot of errors.

    I would like to track this down and find out what it is.

    Rgds
    Cynkan

    Friday, January 30, 2009 8:06 AM
  • Hi,

    The first thing to do in this situation is to leave error reporting on. Then find the KDMP file, this is by default in the \Windows\System\DumpFiles directory (everytime the error reporting dialog appears you will get a KDMP file created, each time you either send or don't send the report to MS then the KDMP file is deleted, so once the dialog appears then try and copy the KDMP file from your device to desktop) however you might not be able to copy it from this location to your desktop. Using this forum post, change the directory the KDMP is created in :-

    http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/f03ff1b5-7aba-4c1b-8cd4-f00b39aeb814

    Once you have the KDMP file on your desktop download and use Windows CE Dump Viewer (http://www.microsoft.com/downloads/details.aspx?FamilyID=76B18828-09E4-4A87-A8E4-A06F2352B754&displaylang=en) to view the KDMP file. This will give you exception information as well as the problem DLL. This might then be enough to find the problem.

    For more information see Raffaele's blog here :-

    http://blogs.msdn.com/raffael/archive/2008/11/18/troubleshooting-crashes-on-windows-mobile.aspx

    Hope this helps.

    Paul Diston


    http://www.smartmobiledevice.co.uk/
    Friday, January 30, 2009 9:41 AM