Kenny Grant

I know this has been posted before but can anyone offer any advice on the 'An error message cannot be displayed because an optional resource assembly cannot be found'
error other than installing 'System_SR_ENU_wm.cab'

All advice I've seen is to install 'System_SR_ENU_wm.cab' but this
is definately installed and I'm still getting the error (or rather lack of).

I know the exception is a web exception but need to see the details to sort out the problem
I have with my mobile application (WM5 on UK english device). The error is raised when the device calls
a method on a web service. It works when the device is cradled but when not it starts
the GPRS connection as it should but then errors.

So I'm mainly after advice on how to get error messages displaying on the device when it's
not cradled (System_SR_ENU_wm.cab already installed) though any advice on consuming web service
also appreciated.

Cheers
Kenny



Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Kenny Grant

Bump.

MS guys (or anyone) - please help we need to go live next week.





Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Ilya Tumanov

Most common mistake is to install CAB for different version of NETCF, unfortunately they have the same name for NETCF V1 and NETCF V2. Check ¡°remove programs¡± applet to see which version you have installed, also try removing and reinstalling.






Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Kenny Grant

Thanks Ilya, I have tried this but will do it again.

The device is WM5 with CF2 SP1 and the locale is UK English - I read somewhere somone had to change the locale to US English to get the strings working, have you heard anything like this





Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Kenny Grant

I've fixed this now - the problem was the resource cab files under program files\visual studio 8\smartdevices\etc..... didn't work.

I took the cab from windows\microsoft.net\etc... instead and it worked!





Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Ilya Tumanov

Probably that was V1 CAB. As I pointed out above, it's a common mistake since CAB names are the same and few developer are paying attention to ¡°1.0¡± in "etc" part of the path. CAB name will be changed to contain version for next NETCF release to avoid confusion.






Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

suchi_ade

Kenny, can you please give the specific file name that help you resolved this issue. Thanks.

Saj





Re: .NET Compact Framework resource assembly error - System_SR_ENU_wm.cab installed.

Ilya Tumanov

I believe it is shown in the subject of the message, isn't it