System.Net.Sockets.SocketException: 由于目标机器积极拒绝,无法连接
在代码中提示“无法连接到远程服务器”
在IE里面提示:
由于目标机器积极拒绝,无法连接。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Net.Sockets.SocketException: 由于目标机器积极拒绝,无法连接。
源错误:
[i]行 90: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.SoftMarket.com.cn/GetGategories", RequestNamespace="http://www.SoftMarket.com.cn/", ResponseNamespace="http://www.SoftMarket.com.cn/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
行 91: public string[] GetGategories() {
行 92: object[] results = this.Invoke("GetGategories", new object[0]);行 93: return ((string[])(results[0]));
行 94: }
[/i]
源文件: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website\139ec791\4e9975c5\App_WebReferences.iuevmdju.0.cs 行: 92