I have a .NETCF application which communicates with a remote web service. When I catch exceptions, I get the message:
System.Net.WebException: 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.
I have installed ‘NETCFv35.Messages.EN.wm.cab’ from the Windows Mobile 6.5.3 developers tool kit. I also tried one that I found elsewhere on this site, but I still get the above message. How can I fix this problem?
I found an article on fixing this problem (Fixing exception messages on the .NET Compact Framework 3.5 – Random ramblings about Technology) and the trace is:
========================================
Process [\Program Files\ConnectCE\ConnectCE.exe]
ProcessID [0x34fcd84e]
Date [2017/05/31] (yyyy/mm/dd)
Time [21:08:17] (hh:mm:ss)
NETCF [3.5.14269.00]
Platform [Windows CE v5.2.29344 (PocketPC) WinCE5ARMV4I release V35-QFE ARMV4I IJITv2]
========================================
GAC: Updating GAC [0x0]
GAC: Checking .gac files inside [\Windows\]
GAC: Found [NETCFv35.Messages.EN.gac] .gac file.
GAC: Done with the file system check. Checking the registry.
GAC: Found [NETCFv35.Messages.EN.gac] registry entry.
GAC: Done with the registry check. Let's compare.
GAC: Entry [NETCFv35.Messages.EN.gac] is up to date.
GAC: GAC is up to date.
Compatibility mode [3.5.0.0]
...snip...
Loading module [\windows\System.SR.dll]
Loading module [\windows\System.SR.exe]
Attempt to load [\windows\System.SR.exe] has failed (err 0x80001000).
MC67 Please install ‘NETCFv35.Messages.EN.wm.cab’ |
0 Replies