Fixing Error Messages Problem in windows CE

With .Net Compact Framework 3.5 the resources that display error messages are not loaded onto device by default. So our application always shows the following message, instead of original message

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

This '' can be found in the directory

C:\Program Files\Microsoft.NET\SDK\CompactFramework\v3.5\WindowsCE\ (English messages)

If after doing this also you get the following message when an exception message is displayed, do the following

1) Open the '' file available in the above location with winzip or any cab extractor
2) Extract the file named "SYCCFA~1.001" and rename it "System.SR.dll"
3) Add System.SR.dll as a reference to your project
4) Deploy the application.

Then the application shows the correct exception messages.


    Blogger Comment
    Facebook Comment


  1. Thankx a lot , i have also same problem but now its it working...............................

  2. '' how to Extract then again create the .cab file plz detail to me steps.