I am working on windows mobile 6, i created one application in VS 2005 using Sqlserver compact sp1.This application running on emulator fine.But when i deply my cab file on real device.i am getting this type of error:-
An error message cannot be displayed because an optional resource assembly containing it cannot be found.
Could any one help me.... Thanks..........
String resources for some error messages are not installed by default on mobile devices (for space saving reasons I would guess). You can install these resources manually if you wish.
From MSDN:
To install .NET Compact Framework resource files
- Verify if the .NET Compact Framework 2.0 Service Pack 2 or later is installed on your computer. If installed, proceed to Step 3.
- Download and install the .NET Compact Framework 2.0 Service Pack 2 on your computer. The setup file for the .NET Compact Framework 2.0 Service Pack 2 can be found here.
- On your computer, browse to the location \Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\Diagnostics, and then copy the appropriate resource CAB file to the mobile device.
- On the mobile device, locate and tap the CAB file to install the resource pack.
After you have installed the resource files the device will show the message for the error that occurs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With