错误没有端点在监听... [英] Error There was no endpoint listening at...

查看:71
本文介绍了错误没有端点在监听...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



请帮帮我。我有1个服务api。当我在解决方案和调试上添加此api然后确定。但是当我在IIS上发布和部署然后错误错误没有端点正在监听...



这是我的配置:



Hello all,

Please help me. I have 1 service api. And when i add this api on solution and debug then OK. But when i publish and deploy on IIS then error "Error There was no endpoint listening at..."

This is my config:

<system.serviceModel>
    <bindings>
      <wsHttpBinding>
        <binding name="WSHttpBinding_IService">
          <security mode="TransportWithMessageCredential">
            <transport clientCredentialType="None" />
            <message clientCredentialType="UserName" />
          </security>
        </binding>
      </wsHttpBinding>
    </bindings>
    <client>
      <endpoint address="https://localhost/Service.svc"
        binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IService"
        contract="API.IService" name="WSHttpBinding_IService" />
    </client>
  </system.serviceModel>





谢谢...



Thanks...

推荐答案

这是因为您当前端点的当前we3p实例丢失了。

删除现有服务引用并尝试添加新引用。
This is because of current we3p instance for your current endpoint being lost.
Remove existing service reference and try to add new reference.


感谢jitusahu。但是我被尝试了,它不起作用
Thank jitusahu. But i was tried, and it doesn't work


这篇关于错误没有端点在监听...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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