InvalidOperationException when publishing the Web Service made in WCF,

1

Show me this error

[InvalidOperationException: Another version has already been associated with the listening URI ' link '. If two endpoints want to share the same ListenUri, they must also share the same instance of the link object. The two conflicting extremes were specified in AddServiceEndpoint () calls, in a configuration file, or in a combination of both. ]

    
asked by Assiel Nahum Reyes Umaña 17.08.2018 в 20:02
source

1 answer

0

the service had it in test environment and it worked fine, but when I uploaded it to the production server it failed with that error that I show you

Thanks for those who wanted to help me

In the end I resolved it by adding these tags to the Web.Config

<services>
     <service behaviorConfiguration="SOEBehavior" name="WS_SOE.WS_SOE">
         <endpoint address="" binding="basicHttpBinding" bindingConfiguration=""
                  name="SOEBasicHttpEndPoint" contract="WS_SOE.IWS_SOE" />            

     </service>
</services>

<behavior name="SOEBehavior">
       <serviceDebug includeExceptionDetailInFaults="true" />
       <serviceMetadata httpGetEnabled="true"/>
</behavior>

I hope and serve others.

    
answered by 30.08.2018 / 17:12
source