请建议如何解决此例外... [英] Please Suggest How Do I Resolve This Exception...

查看:157
本文介绍了请建议如何解决此例外...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误消息:System.ServiceModel.EndpointNotFoundException:https://partners.bitdefender.com/rpc-soap上没有可以接受该消息的端点。这通常是由错误的地址或SOAP操作引起的。有关更多详细信息,请参阅InnerException(如果存在)。 ---> System.Net.WebException:无法连接到远程服务器---> System.Net.Sockets.SocketException:一个阻塞操作是由一个呼叫在System.Net.Sockets.Socket.DoConnect(端点endPointSnapshot,为SocketAddress的SocketAddress)在System.Net.ServicePoint.ConnectSocketInternal中断WSACancelBlockingCall 50.97.42.201:443(布尔connectFailure,插座s4中,插座S6中,插座和插座,ip地址和地址,ConnectSocketState状态,IAsyncResult的asyncResult,异常及异常)---内部异常堆栈跟踪的末尾在System.Net.HttpWebRequest.GetRequestStream(TransportContext&上下文)在系统。 System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()中的Net.HttpWebRequest.GetRequestStream()---内部异常堆栈跟踪结束---服务器堆栈跟踪:在System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream( )System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message) ,时间跨度超时)在System.ServiceModel.Channels.RequestChannel.Request(消息消息,时间跨度超时)在System.ServiceModel.Dispatcher.RequestChannelBinder.Request(消息消息,时间跨度超时)在System.ServiceModel.Channels.ServiceChannel.Call(字符串动作,布尔单向,ProxyOperationRuntime操作,对象[]项,在System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage包括methodCall,ProxyOperationRuntime操作)在System.ServiceModel.Channels.ServiceChannelProxy.Invoke对象[]奏,时间跨度超时)(即时聊天在消息)异常重新抛出[0]:在System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(即时聊天reqMsg,即时聊天retMsg)在System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&MSGDATA,的Int32类型)在ServiceReference1。位于c:\ Users \Username \ AppData中ServiceReference1.BitDefenderPortTypeClient.generateKeys(keysInputArray params)的BitDefenderPortType.generateKeys(keysInputArray params) \Local\Temp\Temporary ASP.NET Files\website2\2ddba6a3\807ea5eb\App_WebReferences.r6qebbe1.0.cs:\WebSite2\Default:在_Default.GenerateGetKeys()在d线3001。 aspx.cs:第81行

error message:System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://partners.bitdefender.com/rpc-soap that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A blocking operation was interrupted by a call to WSACancelBlockingCall 50.97.42.201:443 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream() at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at ServiceReference1.BitDefenderPortType.generateKeys(keysInputArray params) at ServiceReference1.BitDefenderPortTypeClient.generateKeys(keysInputArray params) in c:\Users\Username\AppData\Local\Temp\Temporary ASP.NET Files\website2\2ddba6a3\807ea5eb\App_WebReferences.r6qebbe1.0.cs:line 3001 at _Default.GenerateGetKeys() in d:\WebSite2\Default.aspx.cs:line 81

推荐答案

1.抛出此WCF异常是因为您的远程端点(在您的情况下似乎是WCF服务)已关闭(未运行) )或无法访问(您的WCF设置,如服务URL不正常)。



2.您可以在下一个MSDN链接。 [ ^ ]



3.首先,您应该检查您的服务是否正在运行,然后在Visual Studio中删除然后再添加对您的WCF服务的引用(这应该修复)来自客户端的设置)然后尝试再次测试。
1.This WCF exception is thrown because your remote endpoint (in your case seems to be the WCF service) is down (not running) or cannot be reached (your WCF settings like service URL are not OK).

2.You can find details about this error in the next MSDN link.[^]

3.So first you should check that your service is running, then in your visual studio, remove then add again the reference to your WCF service (this should fix the settings from your client) then try to test again.


这篇关于请建议如何解决此例外...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆