Server Error in '/atn' 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 29:             request.AllowAutoRedirect = true;
Line 30:             request.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0;Windows NT 5.1";
Line 31:             HttpWebResponse response = (HttpWebResponse)request.GetResponse();
Line 32:             Stream respStream = response.GetResponseStream();
Line 33:             StreamReader reader = new StreamReader(respStream, Encoding.ASCII);

Source File: d:\hosting\9377409\html\atn\App_Code\Crawler\CrawlerUtils.cs    Line: 31

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +6592536
   CrawlerUtils.GetDocument(String url) in d:\hosting\9377409\html\atn\App_Code\Crawler\CrawlerUtils.cs:31
   Constants.TwitterFollowers() in d:\hosting\9377409\html\atn\App_Code\Constants.cs:515
   controls_footer.get_TwitterFollowers() in d:\hosting\9377409\html\atn\controls\footer.ascx.cs:46
   ASP.controls_footer_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\hosting\9377409\html\atn\controls\footer.ascx:93
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.BasePartialCachingControl.Render(HtmlTextWriter output) +310
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   ASP.homemasterpage_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:\hosting\9377409\html\atn\HomeMasterpage.master:64
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +268
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +57
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1386


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