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 99:                     var bArq = arquivo.Arquivo1;
Line 100:                    if (!string.IsNullOrEmpty(arquivo.UrlStorage)) {
Line 101:                        WebClient myWebClient = new WebClient();
Line 102:                        bArq = myWebClient.DownloadData(arquivo.UrlStorage);
Line 103:                    }

Source File: C:\Git\iPortalGit\Portal\Modulos\ExibirArquivo.cs    Line: 101

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +389
   System.Net.WebClient.DownloadData(Uri address) +114
   iPortal.Modulos.ExibirArquivo.ProcessRequest(HttpContext context) in C:\Git\iPortalGit\Portal\Modulos\ExibirArquivo.cs:101
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +862
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +182
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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