WCF Service Library with NetTcpBinding

后端 未结 5 1712
孤城傲影
孤城傲影 2020-12-18 01:05

I\'m having a tough time with NetTcpBinding.

When I run my WCFservice,I get this:

System.InvalidOperationException: Could not find a base address tha         


        
5条回答
  •  盖世英雄少女心
    2020-12-18 01:25

    You can share ports, it's not too hard.

    Make sure when selecting enabled protocols in IIS (right click on site -> Manage Web Site -> Advanced Settings) that you DO NOT USE SPACES. If you have "http, net.tcp" instead of "http,net.tcp" it will not work, and instead give you this exact error.

    More information here: http://www.weeksofprogramming.com/post/Could-not-find-a-base-address-Check-for-spaces-in-IIS7.aspx

提交回复
热议问题