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 276:        catch (Exception ex)
Line 277:        {
Line 278:            throw ex;
Line 279:        }
Line 280:

Source File: c:\WEBSITES\DESKTOP\pkwebsite2016\usercontrol\header.ascx.cs    Line: 278

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   usercontrol_header.fn_main_menu(String cat) in c:\WEBSITES\DESKTOP\pkwebsite2016\usercontrol\header.ascx.cs:278
   usercontrol_header.Page_Load(Object sender, EventArgs e) in c:\WEBSITES\DESKTOP\pkwebsite2016\usercontrol\header.ascx.cs:45
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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