Server Error in '/' Application.

The remote name could not be resolved: 'www.dg711.com'

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: 'www.dg711.com'

Source Error:


Line 75:         httpWebRequest.Timeout = 999999;
Line 76: 
Line 77:         HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
Line 78:         StreamReader streamReader = new StreamReader(httpWebResponse.GetResponseStream(), Encoding.GetEncoding("GB2312"));
Line 79:         string responseContent = streamReader.ReadToEnd();

Source File: d:\wwwroot\www.cel.cn\new.aspx    Line: 77

Stack Trace:


[WebException: The remote name could not be resolved: 'www.dg711.com']
   System.Net.HttpWebRequest.GetResponse() +8674060
   ASP.new_aspx.GetHttp(String url) in d:\wwwroot\www.cel.cn\new.aspx:77
   ASP.new_aspx.Page_Load(Object sender, EventArgs e) in d:\wwwroot\www.cel.cn\new.aspx:104
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


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