I keep getting this error message when my dotnet V2 CF app throws an
exception, obviously it is not much use.

I saw a thread about copying (somename)_wm.cab onto my PPC and installing
it. I found this file, but when I copy it over and try to install it the
PPC says it is not a valid CAB file.

How can I get the real exception text to appear on my PPC?


Thanks

Pete

Re: Error message cannot be displayed by Nino

Nino
Wed Mar 01 10:29:17 CST 2006

Peter Morris [Droopy eyes software] wrote:
> I keep getting this error message when my dotnet V2 CF app throws an
> exception, obviously it is not much use.
>
> I saw a thread about copying (somename)_wm.cab onto my PPC and installing
> it. I found this file, but when I copy it over and try to install it the
> PPC says it is not a valid CAB file.
>
> How can I get the real exception text to appear on my PPC?
>
>
> Thanks
>
> Pete
>
>
Peter,

It sounds like you grabbed one of the System_SR_<lang>_wm.cab files from
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics ...
and you tried to install it on a WM2003 device - correct?

Try system_SR_<lang>.cab (e.g. System_SR_ENU.cab instead of
System_SR_ENU_wm.cab). The System_SR_ENU_wm.cab installs on WM5.0
nicely, IME.

The "...not valid..." message you received was likely the very helpful
<sarcasm> message from the .cab file telling you that it is not the
correct version for the platform.


--
Nino Benvenuti
http://nino.net/blog

Re: Error message cannot be displayed by Peter

Peter
Fri Mar 03 13:36:10 CST 2006

Hi

> Try system_SR_<lang>.cab (e.g. System_SR_ENU.cab instead of
> System_SR_ENU_wm.cab). The System_SR_ENU_wm.cab installs on WM5.0
> nicely, IME.

That's the one that VS2005 copies isn't it? In which case it should be
installed when I debug my app?


> The "...not valid..." message you received was likely the very helpful
> <sarcasm> message from the .cab file telling you that it is not the
> correct version for the platform.

My platform is an Intermec PPC. Windows version 4.20.0 (Build 14053) - ARM
PXA255

Does any of that help?


Thanks

Pete



Re: Error message cannot be displayed by Nino

Nino
Mon Mar 06 13:11:12 CST 2006

Peter Morris [Droopy eyes software] wrote:
> Hi
>
>> Try system_SR_<lang>.cab (e.g. System_SR_ENU.cab instead of
>> System_SR_ENU_wm.cab). The System_SR_ENU_wm.cab installs on WM5.0
>> nicely, IME.
>
> That's the one that VS2005 copies isn't it? In which case it should be
> installed when I debug my app?
>
>
>> The "...not valid..." message you received was likely the very helpful
>> <sarcasm> message from the .cab file telling you that it is not the
>> correct version for the platform.
>
> My platform is an Intermec PPC. Windows version 4.20.0 (Build 14053) - ARM
> PXA255
>

That's the one, Peter. I created CF2 project for WM2003 and checked the
build output - that is the one it says it's deploying. On the emulator
(Remove Programs), I see that the CF2 strings are installed.

Have you tried deploying your app from VS, then manually installing the
SR cab?

What class in particular are you looking for strings for (i.e. out of
what BCL is your error arising) ?

--
Nino Benvenuti
http://nino.net/blog