Server Error in '/' Application.

bob平台app_BOB体育平台官方_bob平台

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: bob平台app_BOB体育平台官方_bob平台

Source Error:


Line 74:     {
Line 75:         System.Net.WebClient wc = new System.Net.WebClient();
Line 76:         byte[] data = wc.DownloadData(url);
Line 77:         return data;
Line 78:     }

Source File: d:\网站\web\Global.asax    Line: 76

Stack Trace:


[SocketException (0x274c): bob平台app_BOB体育平台官方_bob平台]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +225
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +279

[WebException: Unable to connect to the remote server]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +290
   System.Net.WebClient.DownloadData(Uri address) +106
   System.Net.WebClient.DownloadData(String address) +29
   ASP.global_asax.get_data(String url) in d:\网站\web\Global.asax:76
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in d:\网站\web\Global.asax:27
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8889383
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +148
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +561
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +96
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +184


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