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 61: 
Line 62:     //get popular
Line 63:     dynamic popular = JObject.Parse(
Line 64:         new Repos.ApplicationInsightsRepo().GetPageViewsUrlPath()
Line 65:     );

Source File: D:\HostingSpaces\jayhollingum\castleshq.com\wwwroot\views\castleshq\default.cshtml    Line: 63

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +638
   System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar) +65

[HttpRequestException: An error occurred while sending the request.]

[AggregateException: One or more errors occurred.]
   System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) +4316222
   System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) +12771596
   System.Threading.Tasks.Task`1.get_Result() +34
   DataAccess.ExternalAPI.ApplicationInsights.Get(String MediaType, String BaseUri, String RequestUri) in C:\Projects\JDAM\DataAccess\ExternalAPI\ApplicationInsights.cs:26
   Repos.ApplicationInsightsRepo.GetPageViewsUrlPath() in C:\Projects\JDAM\Repos\ExternalAPIs\ApplicationInsightsRepo.cs:43
   ASP._Page_views_castleshq_default_cshtml.Execute() in D:\HostingSpaces\jayhollingum\castleshq.com\wwwroot\views\castleshq\default.cshtml:63
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.WebPages.WebPage.ExecutePageHierarchy(IEnumerable`1 executors) +69
   System.Web.WebPages.WebPage.ExecutePageHierarchy() +131
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.WebPages.WebPageHttpHandler.ProcessRequestInternal(HttpContextBase httpContext) +116


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