Hi,
I'm getting "couldn't find resource assembly" msg. when i execute the apps in wireless mode. (via AP)
In USB connection it's working well.
PDA is pinging with notebook.
i refered :
http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx
http://www.google.com/search hl=en&q=Could+not+find+resource+assembly
I added system.SR.dll as a reference.Still getting the same error.
What could be the reason how to solve this
Thanks

couldn't find resource assembly
Tiziano27
The error occurs when the localized assembly with the error messages can't be found on the device. If you install the System.SR cab for your language then this error message should go away (well actually it allow you to see the localized error message for what went wrong in the first place). With VS installed all the SR cabs can be found here:
Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\DiagnosticsGenerally VS should install the SR cab when you deploy your solution, but for now you can just copy it to the device yourself and run it there. The cabs are named System_SR_<language> for non windows mobile devices and System_SR_<language>_wm for windows mobile devices so just pick whatever one you need. Hope that helps,
-Noah
.Net Compact Framework
Akhila MSFT
But what if there is no resource file for your language My device runs 'Dutch' locale settings, there is no cab file for dutch as far as I can see... How can I tell the project to use ENU (english/us) error messages Anything is better then a message in dutch saying it can't find resource assembly.
It gets even better now :) I changed my locale settings to ENU, this shows the 'error' I get in english.
"An error message cannot be displayed because an OPTIONAL resource assembly containing it cannot be found"
How can I solve this If I run the project on my phone it shows the above message, when I run the project in emulator mode, having VS emulate a mobile 5 device, it does show the correct error messages....
Any help would be appreciated.
Greetz, TR
redflux
You'd need to install that optional resource assembly by installing System.SR.cab as Noah suggested above. If there's no CAB for your specific locale go ahead and install English one so English messages would be shown.
By the way both "Can't fined resource assembly" and "An error message cannot be displayed because..." are exactly the same and shown for the same reason. First one was used in NETCF V1 (so you'd need to install NETCF V1 SR CAB) and second one is from NETCF V2 (so you'd need to install NETCF V2 SR CAB).
C&#35;Re_eYe