Server Error in '/' Application.

The remote server returned an error: (429) Too Many Requests.

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 remote server returned an error: (429) Too Many Requests.

Source Error:


Line 90:                 WebClient w = new WebClient();
Line 91:                 w.Encoding = System.Text.Encoding.UTF8;
Line 92:                 string xmlfile = w.DownloadString(Content);
Line 93:                 XmlReaderSettings settings = new XmlReaderSettings();
Line 94:                 settings.ConformanceLevel = ConformanceLevel.Auto;

Source File: c:\inetpub\wwwroot\NepaliFMStuff\NewsWrap.aspx.cs    Line: 92

Stack Trace:


[WebException: The remote server returned an error: (429) Too Many Requests.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +365
   System.Net.WebClient.DownloadString(Uri address) +111
   comedy.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\NepaliFMStuff\NewsWrap.aspx.cs:92
   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