Welcome to MSDN Blogs Sign in | Join | Help

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 ‘NETCFv35.Messages.EN.wm.cab’ for Windows Mobile 5.0 and above or  ‘NETCFv35.Messages.EN.cab’ for other platforms. Restart the application to see the message."

Interpreting the message as 'I have to run the NETCFv35.Messages.EN.wm.cab (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.

Published Thursday, January 03, 2008 4:04 PM by martijnh

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » Fixing exception messages on the .NET Compact Framework 3.5

# re: Fixing exception messages on the .NET Compact Framework 3.5

Thursday, January 10, 2008 10:36 AM by PRiMoZ

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.

# re: Fixing exception messages on the .NET Compact Framework 3.5

Tuesday, January 29, 2008 9:44 AM by Olav Rask

Nice stuff - works perfect - thanks.

# Exception Messages on .NETCF v3.5

Thursday, March 06, 2008 10:49 AM by Peter Foot

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

# re: Fixing exception messages on the .NET Compact Framework 3.5

Tuesday, March 25, 2008 5:33 AM by Brendan

Thanks for this fix! As mentioned above, works perfectly ;)

# re: Fixing exception messages on the .NET Compact Framework 3.5

Thursday, May 08, 2008 3:05 PM by Clermond

Nice stuff - works perfect - thanks.

# re: Fixing exception messages on the .NET Compact Framework 3.5

Monday, June 02, 2008 4:19 PM by Christopher Edwards

Thank you.

Why doesn't someone hovver up these bugs!

# Dll de mensajes de error de .NET Compact Framework 3.5

Wednesday, June 04, 2008 1:33 PM by Byteabyte

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

# re: Fixing exception messages on the .NET Compact Framework 3.5

Tuesday, December 09, 2008 7:32 PM by mikmak

thanks - works for me - cue applause.....

# re: Fixing exception messages on the .NET Compact Framework 3.5

Saturday, December 13, 2008 12:35 PM by Fenic

Oh yesss man, this works perfect!

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

# re: Fixing exception messages on the .NET Compact Framework 3.5

Tuesday, December 30, 2008 12:08 AM by Ruben Zevallos Jr.

Thanks your info helped me a lot...

Best

# re: Fixing exception messages on the .NET Compact Framework 3.5

Monday, March 02, 2009 10:34 AM by Erick

OMG!

Really works!

Much and much more thanks!

# re: Fixing exception messages on the .NET Compact Framework 3.5

Friday, April 17, 2009 6:29 AM by Brian

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

# re: Fixing exception messages on the .NET Compact Framework 3.5

Sunday, April 26, 2009 1:00 PM by Hanzie

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

Thnx in advanced!

# re: Fixing exception messages on the .NET Compact Framework 3.5

Monday, April 27, 2009 11:18 AM by AC

@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.

# re: Fixing exception messages on the .NET Compact Framework 3.5

Thursday, September 10, 2009 1:50 PM by Rapheal G.

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

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker