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 56:         Try
Line 57: 
Line 58:             Dim response As GetObjectMetadataResponse = theClient.GetObjectMetadata(New GetObjectMetadataRequest().WithBucketName(ConfigurationManager.AppSettings("bucketName")).WithKey(theRemotePath))
Line 59: 
Line 60:             Return True

Source File: C:\inetpub\sites\Gift Experience Day\App_Code\vb\imageFunctions.vb    Line: 58

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   Amazon.S3.AmazonS3Client.endOperation(IAsyncResult result) +145
   Amazon.S3.AmazonS3Client.GetObjectMetadata(GetObjectMetadataRequest request) +34
   imageFunctions.checkFileExists(String theRemotePath) in C:\inetpub\sites\Gift Experience Day\App_Code\vb\imageFunctions.vb:58
   sections_section.getSectionInfo(String theSectionFolder, Int32 theSiteID) in C:\inetpub\sites\uber affiliate\sections\section.aspx.vb:82
   sections_section.Page_Load(Object sender, EventArgs e) in C:\inetpub\sites\uber affiliate\sections\section.aspx.vb:24
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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