error “No protocol binding matches the given address …”

前端 未结 3 590
夕颜
夕颜 2020-12-30 11:51

I have 2 WCF serivces hosted in IIS server.

Here is web.config



  
    

        
3条回答
  •  孤城傲影
    2020-12-30 12:45

    Just for the benefit of people searching. I came across this problem. To fix it I reviewed the web.config using marc_s 's answer then did the following as I still had problems:

    1. Delete Virtual Directory.
    2. Went to project properties - > Web Panel -> Selected 'Use Local IIS Web Server' with project url of http://{localhost}/{myservice} (obviously without the braces) and re-created the virtual directory.
    3. Changed the App Pool to .NET 4 with integrated pipeline mode. The app pool change seemed to fix it.

提交回复
热议问题