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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.WebClient.DownloadFile(Uri address, String fileName) +659
   TNTMagazinOnline.Clase.ABDComputer.ABDServices.GetData(String url, Int64 societateId) in E:\Proiecte\CityManagerGit\TNTMagazinOnline\Clase\ABDComputer\ABDServices.cs:80
   TNTMagazinOnline.Clase.ABDComputer.ABDServices.GetAllProducts(String url, Int64 societateId, String limit) in E:\Proiecte\CityManagerGit\TNTMagazinOnline\Clase\ABDComputer\ABDServices.cs:126
   TNTMagazinOnline.PreturiStocuri.UpdateStockAndPrices(Int32 magazinId, GProduseServicii produs, Decimal cantitate, Decimal discount, GProduct supplierProduct, Decimal clientDiscount) in E:\Proiecte\CityManagerGit\TNTMagazin\PreturiStocuri.cs:181
   TNTMagazin.Product.Page_Load(Object sender, EventArgs e) in E:\Proiecte\CityManagerGit\TNTMagazin\Product.aspx.cs:109
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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