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 40:         CurrentRankID = (CurrentRankID > 0) ? CurrentRankID : 1;
Line 41: 
Line 42:         ViewingRankDescription = Coalesce((from r in ExigoOData.Ranks
Line 43:                                                            where r.RankID == ViewingRankID
Line 44:                                                            select r.RankDescription).FirstOrDefault(), "Unavailable");

Source File: c:\ExigoSample\csharp\Applications\RankAdvancementReport\RankAdvancementReport.ascx.cs    Line: 42

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
   System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source) +186
   System.Data.Services.Client.DataServiceQueryProvider.ReturnSingleton(Expression expression) +514
   RankAdvancementReportApplication.Page_Load(Object sender, EventArgs e) in c:\ExigoSample\csharp\Applications\RankAdvancementReport\RankAdvancementReport.ascx.cs:42
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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