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 55:                             
Line 56:                             System.Net.WebClient webClient = new System.Net.WebClient();
Line 57:                             response = webClient.DownloadString(serviceURL);
Line 58:                             var products = Json.Decode(response);
Line 59:                             

Source File: d:\HostingSpaces\jsenior\lesleymaddox.com\wwwroot\Index.cshtml    Line: 57

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +298
   System.Net.WebClient.DownloadString(Uri address) +106
   System.Net.WebClient.DownloadString(String address) +32
   ASP._Page_Index_cshtml.Execute() in d:\HostingSpaces\jsenior\lesleymaddox.com\wwwroot\Index.cshtml:57
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +199
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +73
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +154
   System.Web.WebPages.StartPage.RunPage() +19
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +80
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContext context) +259


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