Troubleshoot Common exceptions in WCF (updating constantly...), and update continuously in wcf
System Win7 IIS7.5
Exception 1. The base address that matches the scheme net. tcp cannot be found with the endpoint bound to NetTcpBinding. The registered base address scheme is [http].
Cause: the net. tcp protocol is not configured for the website. By default, the website only has the http protocol solution: Open IIS and select edit the binding under the website. Configure the net. tcp protocol. You can search for specific operations. Q: Does the website still report this error when the net. tcp protocol is correctly configured? Possible cause: the port is incorrect, for example, the net. tcp port 1000 may be used to right-click the svc file in CMDL Studio and allocate another port, such as 2000. This may cause this problem. Solution: Open the svc file in IIS.
Exception 2. http is displayed when the net. tcp protocol is used in the WCF configuration duplex.We use the net. tcp protocol, but the http protocol is displayed here. Solution:
<ServiceMetadata httpGetEnabled = "false" httpsGetEnabled = "false"/>
After solution: