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 30: {
Line 31:  xmlfile = w.DownloadString(@"http://www.onlinekhabar.com/category/sports/feed/");
Line 32:  xmlfile2 = w.DownloadString(@"http://www.nagariknews.com/index.php/sports?format=feed&type=rss");
Line 33: 
Line 34: }

Source File: c:\inetpub\wwwroot\NepaliFMStuff\CanadaNepal_Crawler.aspx.cs    Line: 32

Stack Trace:


[WebException: The request was aborted: Could not create SSL/TLS secure channel.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +365
   System.Net.WebClient.DownloadString(Uri address) +111
   Video.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\NepaliFMStuff\CanadaNepal_Crawler.aspx.cs:32
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1381


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