Server Error in '/' Application.

The request was aborted: Could not create SSL/TLS secure channel.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.

Source Error:


Line 178:
Line 179:        //Get response from Ozeki NG SMS Gateway Server and read the answer
Line 180:        HttpWebResponse myResp = (HttpWebResponse)myReq.GetResponse();
Line 181:        System.IO.StreamReader respStreamReader = new System.IO.StreamReader(myResp.GetResponseStream());
Line 182:        string responseString = respStreamReader.ReadToEnd();

Source File: g:\pleskvhosts\globalskill.org\bindutimes.com\travel-news.aspx.cs    Line: 180

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.HttpWebRequest.GetResponse() +1463
   travel_news.mainurl() in g:\pleskvhosts\globalskill.org\bindutimes.com\travel-news.aspx.cs:180
   travel_news.Page_Load(Object sender, EventArgs e) in g:\pleskvhosts\globalskill.org\bindutimes.com\travel-news.aspx.cs:41
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0