Quantcast
Channel: Jeremy Ronk » binding
Viewing all articles
Browse latest Browse all 2

Activate net.tcp Binding in AppFabric

0
0

When you host a WCF service in WAS (IIS) and use non http protocol, when you browse your svc you can obtain this error :

The protocol ‘net.tcp’ is not supported.

To clear this issue, first verified in Windows feature that Windows Communication Foundation NON HTTP Activation is checked

Next, you need to ensure in your service config file endpoint you have removed address tag :

 <service name="WCFStringReverse.Service1">
        <endpoint address="" binding="netTcpBinding"
          bindingConfiguration="StringReverseTCP" contract="WCFStringReverse.IStringReverse" />

The last step is to check that the protocol is enable for your website :

  • Show execute command
  • Tip inetmgr
  • in IIS console go to your website
  • ON the right ribbon you’ve got a Menu « Action » select binding
  • you get this windows :
  • Clic Add and configure your new protocol
You can script these actions

%windir%\system32\inetsrv\appcmd.exe set site « Namesite » -+bindings.[protocol='net.tcp',bindingInformation='808:*']



Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images