-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Govind_k22
Message 1 in Discussion
I am using Webservice with SSL. When i invoke the WebService i am getting the below
error. How can i solve these. from Windows application Code : Dim Obj As
New GetData()
Dim C As Security.Cryptography.X509Certificates.X509Certificate
Obj.Url = "https://xx.xx.xx.xx/b2b/GetData.asmx"
Obj.ClientCertificates.Add(C.CreateFromCertFile("c:\Inbnd\cert\c.cer"))
Dim DT As DataTable
DT = Obj.GetRNData.Tables(0) The Error: System.Net.WebException: The
underlying connection was closed: Could not establish trust relationship with remote
server.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName,
Object[] parameters)
at test.GetData.GetRNData() in E:\ETS\test\GetData.vb:line 41
at test.frmAckSend.Button1_Click(Object sender, EventArgs e) in
E:\ETS\test\frmAckSend.vb:line 479 Regards, Govind.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]