Server Error in '/' Application.

bwin手机客户端下载_bwin客户端app下载_bwin手机版app

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.Sockets.SocketException: bwin手机客户端下载_bwin客户端app下载_bwin手机版app

Source Error:


Line 36:         request.ContentType = "application/x-www-form-urlencoded";
Line 37:         request.ContentLength = postDataStr.Length;
Line 38:         Stream myRequestStream = request.GetRequestStream();
Line 39:         StreamWriter myStreamWriter = new StreamWriter(myRequestStream, Encoding.GetEncoding("utf-8"));
Line 40:         myStreamWriter.Write(postDataStr);

Source File: d:\www\udcn\App_Code\SendDataByPost.cs    Line: 38

Stack Trace:


[SocketException (0x274c): bwin手机客户端下载_bwin客户端app下载_bwin手机版app]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +305
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +699

[WebException: Unable to connect to the remote server]
   System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) +1217
   System.Net.HttpWebRequest.GetRequestStream() +23
   SendDataByPost.GetData(String Url, String postDataStr) in d:\www\udcn\App_Code\SendDataByPost.cs:38
   culture_magazine.LoadData() in d:\www\udcn\culture\magazine.aspx.cs:21
   culture_magazine.Page_Load(Object sender, EventArgs e) in d:\www\udcn\culture\magazine.aspx.cs:14
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


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