Fixing exception messages on the .NET Compact Framework 3.5

FWIW: I recently ran into trouble while developing for the .NET Compact Framework, v3.5. Upon all exceptions, the framework would tell me:

"An error message is available for this exception but cannot be displayed because these messages are optional and are not currently installed on this device. Please install ‘’ for Windows Mobile 5.0 and above or  ‘’ for other platforms. Restart the application to see the message."

Interpreting the message as 'I have to run the (I'm developing an application for WM6) on my device', I copied the file from C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\Diagnostics onto my mobile device and ran the installation.

To no avail, nothing changed and I was stuck. After installing the 'Power Toys for .NET Compact Framework 3.5', however, I configured logging using the '.NETCF Logging Configuration' application and found the following error for the loader log:

'Attempt to load [\Program Files\SomeApp\System.SR.dll] has failed (err 0x80001000).'

Renaming the file 'SYCCFA~1.001', included in the aforementioned CAB file into System.SR.dll and adding it as a reference in my application proved to fix the issue. I now had readable exception messages.

Just jotting this down as there's nothing to be found on the web regarding the issue that I could find.

Comments (19)
  1. PRiMoZ says:

    I have exact same problem. It was already in Beta2 and i thought they will fix this in final version. I’ll try your solution.

  2. Olav Rask says:

    Nice stuff – works perfect – thanks.

  3. Peter Foot says:

    Martijn Hoogendoorn provides a description of how to avoid the message:- " An error message is available

  4. Brendan says:

    Thanks for this fix! As mentioned above, works perfectly 😉

  5. Clermond says:

    Nice stuff – works perfect – thanks.

  6. Christopher Edwards says:

    Thank you.

    Why doesn’t someone hovver up these bugs!

  7. Byteabyte says:

    Recientemente, trabajando con .NET Compact Framework 3.5 en un terminal en español, al producirse una

  8. mikmak says:

    thanks – works for me – cue applause…..

  9. Fenic says:

    Oh yesss man, this works perfect!

    There is no sighn of this on the web, You own!

  10. Thanks your info helped me a lot…


  11. Erick says:


    Really works!

    Much and much more thanks!

  12. Brian says:

    Thanks for the assistance, this wasn’t exactly user-friendly!

  13. Hanzie says:

    Hello, can you tell me how to change that filename in a cab-file.

    Thnx in advanced!

  14. AC says:

    @Hanzie: You don’t. Just extract the dll, rename it and add it as a ref to your proj.

    Thanks Martijnh, it works a treat.

  15. Rapheal G. says:

    Thanks a ton!!! I’m using viigo with wm 6 and that did the trick!!

  16. Anil Kumar says:

    Thanks I was stuck, finally issue resolved.

  17. anon says:

    yaay! nice find :0

  18. Taha Arian says:

    Thanks a million ,that is one of the best solution for this problem.

    I m waiting for scrutinizing final result 🙂

Comments are closed.

Skip to main content