Server Error in '/' Application.

The remote server returned an error: (404) Not Found.

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: (404) Not Found.

Source Error:


Line 1285:            httpreq = (HttpWebRequest)WebRequest.Create(url);
Line 1286:            httpreq.Method = "GET";
Line 1287:            httpres = (HttpWebResponse)httpreq.GetResponse();
Line 1288:            hreader = new StreamReader(httpres.GetResponseStream());
Line 1289:            resstr = "";

Source File: d:\Inetpub\domainid189058\App_Code\FanClubSubscription.cs    Line: 1287

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +1751
   TrappCandle.FanClubSubscription.getContentFromUrl(String url) in d:\Inetpub\domainid189058\App_Code\FanClubSubscription.cs:1287
   sds.Page_Load(Object sender, EventArgs e) in d:\Inetpub\domainid189058\sds.aspx.cs:18
   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.4110.0