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 325:            finally
Line 326:            {
Line 327:                webRequest.GetResponse().GetResponseStream().Close();
Line 328:                responseReader.Close();
Line 329:                responseReader = null;

Source File: C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs    Line: 327

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.HttpWebRequest.GetResponse() +1751
   oAuthLinkedIn.WebResponseGet(HttpWebRequest webRequest) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:327
   oAuthLinkedIn.WebRequest(Method method, String url, String postData) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:298
   oAuthLinkedIn.oAuthWebRequest(Method method, String url, String postData) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:186
   oAuthLinkedIn.AuthorizationLinkGet() in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\oAuthLinkedIn.cs:66
   SitefinityWebApp.CustomControls.LinkedIn.LinkedInGroupDiscussion.LinkedInLogin() in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\LinkedInGroupDiscussion.ascx.cs:411
   SitefinityWebApp.CustomControls.LinkedIn.LinkedInGroupDiscussion.RequestDiscussion() in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\LinkedInGroupDiscussion.ascx.cs:636
   SitefinityWebApp.CustomControls.LinkedIn.LinkedInGroupDiscussion.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\FranklinAP_Sitefinity5\CustomControls\LinkedIn\LinkedInGroupDiscussion.ascx.cs:123
   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.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.4667.0