- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
"错误-6ren"> "错误-我有多个WCF服务,运行于 IIS在专用服务器上。这些服务有他们的客户。总而言之它有效,但是每当我在客户端级别查找日志时,我通常会看到以下类型的错误: System.ServiceModel.Endp-6ren">
我有多个WCF
服务,运行于 IIS
在专用服务器上。这些服务有他们的客户。总而言之它有效,但是每当我在客户端级别查找日志时,我通常会看到以下类型的错误:
System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <Service URL> 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 socket operation was attempted to an unreachable network <Service IP>:80
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, Int32 timeout, 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.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)
WCF
的配置服务:
<netTcpBinding>
<binding name="config" closeTimeout="0:5:0" openTimeout="0:5:0" sendTimeout="0:5:0" receiveTimeout="0:5:0"
maxBufferPoolSize="8388608" maxBufferSize="8388608" maxReceivedMessageSize="8388608" maxConnections="8388608">
<readerQuotas maxArrayLength="8388608" maxNameTableCharCount="8388608" maxStringContentLength="8388608"/>
<security mode="None"/>
</binding>
</netTcpBinding>
<basicHttpBinding>
<binding name="config2" closeTimeout="0:5:0" openTimeout="0:5:0" sendTimeout="0:5:0" receiveTimeout="0:5:0"
maxBufferPoolSize="838860800" maxBufferSize="838860800" maxReceivedMessageSize="838860800">
<readerQuotas maxArrayLength="838860800" maxNameTableCharCount="838860800" maxStringContentLength="838860800"/>
<security mode="None"/>
</binding>
</basicHttpBinding>
<behavior>
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpGetEnabled="false"/>
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false"/>
<dataContractSerializer maxItemsInObjectGraph="838860800"/>
</behavior>
IIS
中的东西
WCF
中的设置或其他内容服务配置。但我找不到什么和在哪里。
NetTcpBinding
配置有一个属性
MaxConnection
,但是
basicHttpBinding
才不是。
最佳答案
以下是我自己的 Web.config 的已解决版本(适用于我的项目)。可以从以下工作示例中挑选有用的提示。 ——苏贾延希伦
<service name="WelcomeSOAPXMLService">
<endpoint address="http://localhost:16672/Service.svc" binding="basicHttpBinding" contract="IWelcomeSOAPXMLService"/>
关于wcf - 常量 "System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at <Service URL>"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14991615/
我试图找到下面 EndpointNotFoundException 异常的潜在原因(发生在客户端,异常是间歇性的)。异常消息描述了两种可能的原因: 没有端点监听。 不正确的 SOAP 操作。 我验证了
我成功向 ASP.NET 项目添加了服务引用,但当我尝试从服务客户端调用方法时,出现 EndpointNotFoundException: BenchmarkManagementServiceClie
我正在按照这个教程在我的 sql server 和我的 c# 应用程序之间部署一个 WCF:https://www.youtube.com/watch?v=OGItMZAWkHg 所以这是我的程序的一
我正在通过代码调用服务,如果服务因任何原因停止,它会给我 EndPointNotFound 异常。 我没有设置 openTimeOut,所以它会考虑默认的 1
我正在使用两个应用程序,一个有一个配置为使用 net.tcp 绑定(bind)的自托管服务。服务的 ServiceBehaviorAttribute 配置为: [ServiceBehavior(Con
错误信息: [EndpointNotFoundException:在“Link/MobileMotivation.asmx”上没有监听可以接受消息的端点。这通常是由不正确的地址或 SOAP 操作引起的
我在网站的 Web 服务调用中收到此 EndpointNotFoundException,而如果我从控制台应用程序执行此调用,则完全相同。这是更详细的异常消息: Could not connect t
我已经设置了一个系统来让工作进程做一些工作,并在 GUI 进程和工作进程之间协调命名管道。我在这里启动工作进程: this.pipeGuidString = Guid.NewGuid().ToStri
我在测试期间遇到异常捕获时遇到了一些困难。我实际上断开了服务,因此端点不可用,并且我正在尝试修改我的应用程序以处理这种可能性。 问题是无论我把 try/catch block 放在哪里,我似乎都无法在
我试图捕捉这个异常: System.ServiceModel.EndpointNotFoundException 但 Visual Studio 没有找到它。最后没有红色的小破折号,如果我尝试在 Sy
我们有一个现有的 WCF 客户端,它从 WCF 服务接收数据。我们在客户端实现了一种特定的业务逻辑,只有在从 WCF 调用中发现 EndpointNotFoundException 时才会执行。最近我
我正在学习 Learning WCF 这本书和第一个教程实验室 HelloIndigo 我收到以下错误。 无法连接到 http://localhost:8000/HelloIndigo/HelloIn
我已经创建了一个 WCF 服务和客户端,在捕获错误之前一切正常。具体来说,我正在 try catch EndpointNotFoundException,因为无论出于何种原因服务器恰好不存在。我尝试了
我正在运行一个 Windows 服务,我通过 NetNamedPipeBinding 向其发送消息。消息从由 GPO 触发的客户端应用程序发送。我刚刚在新服务器上安装了服务和客户端,我收到以下消息:
我正在从 Silverlight Windows Phone 7 应用程序中调用 Web 服务,如果 Web 服务可用,它可以正常工作。如果 Web 服务不可用,则会捕获未处理的异常,但我自己似乎无法
我有多个WCF服务,运行于 IIS在专用服务器上。这些服务有他们的客户。总而言之它有效,但是每当我在客户端级别查找日志时,我通常会看到以下类型的错误: System.ServiceModel.Endp
我有一个在 IIS 7.5 Windows 2008 R2 上托管的 WCF REST 服务。该服务按预期工作,除非客户端尝试发送大于 ~ 25 MB 的消息。具体来说,当发送大小约为 25 MB 的
我正在使用传输安全设置开发 WCF 服务。当测试客户端代理并调用服务方法时,我得到以下 EndpointNotFoundException: There was no endpoint listeni
我正在使用传输安全设置开发 WCF 服务。在测试客户端代理和调用服务方法时,我得到以下 EndpointNotFoundException: There was no endpoint listeni
我们正在尝试将 Silverlight + WCF RIA 服务应用程序部署到 IIS 6 网络服务器。当 silverlight 应用程序在浏览器中启动时,出现错误。使用Fiddler ,我可以看到
我是一名优秀的程序员,十分优秀!