“/”应用程序中的服务器错误。

乐虎国际登陆-乐虎国际-乐虎国际lehu805

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.Sockets.SocketException: 乐虎国际登陆-乐虎国际-乐虎国际lehu805

源错误:


行 19:             request.ContentType = "text/html;charset=UTF-8";
行 20:  
行 21:             HttpWebResponse response = (HttpWebResponse)request.GetResponse();
行 22:             Stream myResponseStream = response.GetResponseStream();
行 23:             StreamReader myStreamReader = new StreamReader(myResponseStream, Encoding.GetEncoding("utf-8"));

源文件: d:\webroot\tzsb\DTcms.Web\aspx\member_show2.aspx    行: 21

堆栈跟踪:


[SocketException (0x2746): 乐虎国际登陆-乐虎国际-乐虎国际lehu805]
   System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +73
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +131

[IOException: 无法从传输连接中读取数据: 乐虎国际登陆-乐虎国际-乐虎国际lehu805。]
   System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +294
   System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) +26
   System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) +297

[WebException: 基础连接已经关闭: 接收时发生错误。]
   System.Net.HttpWebRequest.GetResponse() +5411389
   ASP.aspx_member_show2_aspx.HttpGet(String Url, String postDataStr) in d:\webroot\tzsb\DTcms.Web\aspx\member_show2.aspx:21
   ASP.aspx_member_show2_aspx.OnInit(EventArgs e) in d:\webroot\tzsb\DTcms.Web\aspx\member_show2.aspx:46
   System.Web.UI.Control.InitRecursive(Control namingContainer) +333
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


版本信息: Microsoft .NET Framework 版本:2.0.50727.5485; ASP.NET 版本:2.0.50727.5491