Server Error in '/' Application.

The remote server returned an error: (503) Server Unavailable.

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: (503) Server Unavailable.

Source Error:


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

Source File: c:\inetpub\vhosts\mithrinhotelhalong.com.vn\httpdocs\Views\Home\index.aspx    Line: 76

Stack Trace:


[WebException: The remote server returned an error: (503) Server Unavailable.]
   System.Net.HttpWebRequest.GetResponse() +1686
   ASP.views_home_index_aspx.GetHttp(String url) in c:\inetpub\vhosts\mithrinhotelhalong.com.vn\httpdocs\Views\Home\index.aspx:76
   ASP.views_home_index_aspx.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\mithrinhotelhalong.com.vn\httpdocs\Views\Home\index.aspx:93
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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