Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF Launching host error
    primarykey
    data
    text
    <p>I want to launch the following WCF service:</p> <pre><code>&lt;system.serviceModel&gt; &lt;services&gt; &lt;service name="MTPlatform"&gt; &lt;endpoint address="TradingService" behaviorConfiguration="ServiceBehaviour" binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_IGenericTradingInterface" contract="GenericTradingInterface.IGenericTradingInterface" name="TradingService" /&gt; &lt;endpoint address="mex" binding="mexNamedPipeBinding" contract="IMetadataExchange" /&gt; &lt;host&gt; &lt;baseAddresses&gt; &lt;add baseAddress="net.pipe://localhost" /&gt; &lt;/baseAddresses&gt; &lt;timeouts closeTimeout="00:00:02" openTimeout="00:00:20" /&gt; &lt;/host&gt; &lt;/service&gt; &lt;/services&gt; &lt;bindings&gt; &lt;netNamedPipeBinding&gt; &lt;binding name="NetNamedPipeBinding_IGenericTradingInterface" closeTimeout="00:05:20" openTimeout="00:00:20" receiveTimeout="05:20:00" sendTimeout="00:10:00" transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="2147483646" maxBufferSize="2147483646" maxConnections="10" maxReceivedMessageSize="2147483646"&gt; &lt;readerQuotas maxDepth="2147483646" maxStringContentLength="2147483646" maxArrayLength="2147483646" maxBytesPerRead="2147483646" maxNameTableCharCount="2147483646" /&gt; &lt;security mode="Transport"&gt; &lt;transport protectionLevel="EncryptAndSign" /&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/netNamedPipeBinding&gt; &lt;/bindings&gt; &lt;behaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name="ServiceBehaviour"&gt; &lt;dataContractSerializer maxItemsInObjectGraph="2147483646" /&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="MetaDataBehavior"&gt; &lt;serviceMetadata /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;/system.serviceModel&gt; </code></pre> <p>This fails with: </p> <blockquote> <p>The contract name 'IMetadataExchange' could not be found in the list of contracts implemented by the service MT5Platform. Add a ServiceMetadataBehavior to the configuration file or to the ServiceHost directly to enable support for this contract.</p> </blockquote> <p>I don't see big mistakes here, where can one find <code>IMetadataExchange</code>?</p> <p>Thanks,</p> <p>Juergen</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload