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

yabo亚博体育app官方下载-欢迎您

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

异常详细信息: System.Net.Sockets.SocketException: yabo亚博体育app官方下载-欢迎您

源错误:


行 119:    {
行 120:        System.Net.WebClient wc = new System.Net.WebClient();
行 121:        byte[] data = wc.DownloadData(url);
行 122:        return data;
行 123:    }

源文件: c:\www\mj\Global.asax    行: 121

堆栈跟踪:


[SocketException (0x274c): yabo亚博体育app官方下载-欢迎您]
   System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +185
   System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) +573

[WebException: 无法连接到远程服务器]
   System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +283
   System.Net.WebClient.DownloadData(Uri address) +100
   System.Net.WebClient.DownloadData(String address) +30
   ASP.global_asax.get_data(String url) in c:\www\mj\Global.asax:121
   ASP.global_asax.Session_Start(Object sender, EventArgs e) in c:\www\mj\Global.asax:72
   System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +10065023
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +160
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1095
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +254
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3535.0