Server Error in '/csharp' 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 133:        if (challenges == null) return models;
Line 134:
Line 135:        foreach (var challenge in challenges)
Line 136:        {
Line 137:            var viewModel = new ChallengeViewModel();

Source File: c:\ExigoSample\csharp\App_Code\ChallengeApp\ChallengeHelper.cs    Line: 135

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.HttpWebRequest.GetResponse() +1751
   System.Data.Services.Client.QueryResult.Execute() +634
   System.Data.Services.Client.DataServiceRequest.Execute(DataServiceContext context, QueryComponents queryComponents) +539
   System.Data.Services.Client.DataServiceQuery`1.GetEnumerator() +23
   ChallengeHelper.FetchChallenges() in c:\ExigoSample\csharp\App_Code\ChallengeApp\ChallengeHelper.cs:135
   Applications_ChallengeApp_ChallengeList.get_CurrentChallenges() in c:\ExigoSample\csharp\Applications\ChallengeApp\ChallengeList.ascx.cs:36
   ASP.applications_challengeapp_challengelist_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in c:\ExigoSample\csharp\Applications\ChallengeApp\ChallengeList.ascx:55
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +11662095
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +47
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +53
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +169
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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