Error: An error message cannot be displayed because an optional resource assembly containing it cannot be found.

Problem:

HTTPApps.exe
WebException
An error message cannot be displayed because an optional resource assembly containing it cannot be found.

at HttpWebRequest.finishGetResponse()
at HttpWebRequest.GetResponse()
at Form1.UploadFile()
at Form1.button1_Click()
at Control.OnClick()
at Button.OnClick()
at ButtonBase.WnProc()
at Control._InternalWnProc()
at EVL.EnterMainLoop()
at Application.Run()
at Program.Main()

Likely Solution:

Install SR CAB for NETCF V2.

By default the CAB should be

C:\Program Files\Microsoft Visual Studio

8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics

If you've installed NETCF V2 to custom folder it might be in a different place, please search pc for actual location.