Server Error in '/' Application.

The remote name could not be resolved: 'seo.56web.ru'

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 name could not be resolved: 'seo.56web.ru'

Source Error:


Line 14:     {
Line 15:         HttpWebRequest myHttpWebRequest = (HttpWebRequest)HttpWebRequest.Create("http://seo.56web.ru/pagelinks.ashx?site=" + Request.Url.Host.Replace("www.",""));
Line 16:         HttpWebResponse myHttpWebResponse = (HttpWebResponse)myHttpWebRequest.GetResponse();
Line 17:         StreamReader myStreamReader = new StreamReader(myHttpWebResponse.GetResponseStream(), Encoding.UTF8);
Line 18:         string text = myStreamReader.ReadToEnd();

Source File: e:\rooms\u266901\id56.ru\www\pagelinks.aspx.cs    Line: 16

Stack Trace:


[WebException: The remote name could not be resolved: 'seo.56web.ru']
   System.Net.HttpWebRequest.GetResponse() +1463
   pagelinks.Page_Load(Object sender, EventArgs e) in e:\rooms\u266901\id56.ru\www\pagelinks.aspx.cs:16
   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.4690.0