Note that there are some explanatory texts on larger screens.

plurals
  1. POWCF Service netTCPbinding
    primarykey
    data
    text
    <p>I want to use netTCPbinding, so I've changed my web config as below. I'm experiencing this error:</p> <blockquote> <p>Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http].</p> </blockquote> <p>How can this be solved?</p> <p> </p> <pre><code>&lt;services&gt; &lt;service name="DXDirectory.DXDirectoryService" behaviorConfiguration="DXDirectory.Service1Behavior"&gt; &lt;!-- Service Endpoints --&gt; &lt;endpoint address="" binding="netTcpBinding" bindingConfiguration="WindowsSecured" contract="DXDirectory.IDXDirectoryService"&gt; &lt;!-- Upon deployment, the following identity element should be removed or replaced to reflect the identity under which the deployed service runs. If removed, WCF will infer an appropriate identity automatically. --&gt; &lt;identity&gt; &lt;dns value="localhost" /&gt; &lt;/identity&gt; &lt;/endpoint&gt; &lt;host&gt; &lt;baseAddresses&gt; &lt;add baseAddress="net.tcp://localhost:2582/DXDirectoryService" /&gt; &lt;/baseAddresses&gt; &lt;/host&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="DXDirectory.Service1Behavior"&gt; &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt; &lt;serviceMetadata httpGetEnabled="false" /&gt; &lt;!-- 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 --&gt; &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt; &lt;serviceAuthorization principalPermissionMode="UseWindowsGroups" /&gt; &lt;!--&lt;serviceCredentials&gt;--&gt; &lt;!--&lt;userNameAuthentication userNamePasswordValidationMode="Custom" membershipProviderName="CustomUserNameValidator"/&gt;--&gt; &lt;!--&lt;/serviceCredentials&gt;--&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    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