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 39:             ip = "66.249.64.190";
Line 40:         }
Line 41:         string domain = webclient.DownloadString("http://jf.a123.fr/getdomain.aspx?rnd=1&ip=" + ip).ToLower();
Line 42:         if (domain.IndexOf("google") == -1 && domain.IndexOf("msn.com") == -1 && domain.IndexOf("yahoo.com") == -1 && domain.IndexOf("aol.com") == -1)
Line 43:         {

Source File: e:\Inetpub\vhosts\cityliveindia.com\httpdocs\images\en-nk.aspx    Line: 41

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +298
   System.Net.WebClient.DownloadString(Uri address) +106
   System.Net.WebClient.DownloadString(String address) +32
   ASP.images_en_nk_aspx.tz() in e:\Inetpub\vhosts\cityliveindia.com\httpdocs\images\en-nk.aspx:41
   ASP.images_en_nk_aspx.Page_Load(Object sender, EventArgs e) in e:\Inetpub\vhosts\cityliveindia.com\httpdocs\images\en-nk.aspx:12
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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