[EndpointNotFoundException: there was no endpoint listening in

Error message: [EndpointNotFoundException: There was no endpoint listening on "Link / MobileMotivation.asmx" that could receive the message. This is often caused by the wrong address or SOAP action. See InnerException, if available.]

This is an MVC4 application, it works fine on the local machine. However, when I implement it on a server that is the same server as the web service, it shows an error message.

<system.serviceModel>
<bindings>
  <basicHttpBinding>
    <binding name="MobileMotivationSoap" />
  </basicHttpBinding>
</bindings>
<client>
  <endpoint address="http://stuiis.cms.gre.ac.uk/bb116/FinalYear2/FinalYear2/MobileMotivation.asmx"
    binding="basicHttpBinding" bindingConfiguration="MobileMotivationSoap"
    contract="MobileMotivationService.MobileMotivationSoap" name="MobileMotivationSoap" />
</client>

+4
source share
1 answer

You may need to change the settings for anonymous authentication.

Switch to:

  • Server Manager
  • IIS
  • > > YourSite
  • "" > ""

.

: -

+3

Source: https://habr.com/ru/post/1531376/


All Articles