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.HttpWebRequest.GetResponse() +1751
   LenoxBLL.GetresponseFromlenox(String url) in D:\NAVEED H\OFFICE PROJECTS\VAULT-NAVEED\COSMOPOLITANMECHANICALCA\CosmoMechCa2015\CosmoMechCa2015\BLL\LenoxBLL.cs:47
   LenoxBLL.GetLenoxProductListForCategory(String categoryid) in D:\NAVEED H\OFFICE PROJECTS\VAULT-NAVEED\COSMOPOLITANMECHANICALCA\CosmoMechCa2015\CosmoMechCa2015\BLL\LenoxBLL.cs:111
   LenoxBLL.GetLenoxProductDataTableForCategory(String categoryid) in D:\NAVEED H\OFFICE PROJECTS\VAULT-NAVEED\COSMOPOLITANMECHANICALCA\CosmoMechCa2015\CosmoMechCa2015\BLL\LenoxBLL.cs:116

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +132
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +146
   System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance) +913
   System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +1896
   System.Web.UI.WebControls.Repeater.GetData() +335
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +276
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +81
   System.Web.UI.Control.DataBindChildren() +248
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +195
   System.Web.UI.WebControls.DataList.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +175
   System.Web.UI.WebControls.DataList.CreateControlHierarchy(Boolean useDataSource) +885
   System.Web.UI.WebControls.BaseDataList.OnDataBinding(EventArgs e) +89
   System.Web.UI.WebControls.BaseDataList.EnsureDataBound() +86
   System.Web.UI.Control.EnsureChildControls() +107
   System.Web.UI.Control.PreRenderRecursiveInternal() +58
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


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