Hi ,
I have a sample application on .Net CF 2.0 for PocketPC 2003 SE devices. While sending an https:// request an exception is thrown by the application. My code is as follows:
try
{
HttpWebRequest request = ( HttpWebRequest )WebRequest.Create(
https://www.paypal.com );
HttpWebResponse response =
( HttpWebResponse )request.GetResponse();
}
catch( WebException e1 )
{
string status = e1.Status.ToString();
}
Stack Trace:
at System.Net.SslConnectionState.PerformClientHandShake()
at System.Net.Connection.connect()
at WorkItem.doWork()
at System.Threading.Timer.ring()
e1.Message:
"An error message cannot be displayed because an optional resource assembly containing it cannot be found"
e1.Status:
"TrustFailure"
e1.InnerException:
"An error message cannot be displayed because an optional resource assembly containing it cannot be found"
e1.InnerException.Message:
"An error message cannot be displayed because an optional resource assembly containing it cannot be found"
Can you suggess where Im missing anything !!!
Thanks,