1

にデプロイされNET.TCPたアプリケーションのバインディングを設定しようとしています。既に net.tcp をアプリケーションに追加しましたが、net.tcp バインディングを追加しようとすると、以下に示すエラーがスローされます。WCFIISEnabled Protocols

ここに画像の説明を入力

も有効にしましたWindows Communication Foundation Non-HTTP Activation。NET.TCP サービスも実行されています。

前もって感謝します

4

2 に答える 2

2

You need to add net.tcp to the enabled protocols of your site. Go to IIS Manager, right-click on your website, go to 'Manage Web Site' or 'Manage Application', then to 'Advanced Settings...'. There you see 'Enabled Protocols'. It probably says http. Change it to http,net.tcp

OR

use command line - it works for me

C:\Windows\System32\inetsrv>appcmd.exe set site "Default Web Site" -+bindings.[protocol='net.tcp',bindinginformation='808:*']
于 2016-11-21T13:59:08.937 に答える
1

これら2つを読んで、あなたが今していること以外に何か追加があるかどうかを確認してください。

http://dotnetmentors.com/hosting-wcf-service-with-nettcpbinding-or-netnamedpipebinding-in-iis.aspx

http://blogs.msdn.com/b/james_osbornes_blog/archive/2010/12/07/hosting-in-iis-using-nettcpbinding.aspx

これら2つが役に立たなかった場合は、これを読むことができ、他の2つのリンクよりもいくつかのポイントをカバーしています : on-iis-was.aspx

于 2013-09-30T12:00:55.160 に答える