WCF service startup error “This collection already contains an address with scheme http”

后端 未结 7 1462
日久生厌
日久生厌 2020-12-02 04:06

I built a web application containing a WCF service contract and a Silverlight control which makes calls to that WCF service. On my development and test servers it works grea

7条回答
  •  死守一世寂寞
    2020-12-02 04:49

    Did you see this - http://kb.discountasp.net/KB/a799/error-accessing-wcf-service-this-collection-already.aspx

    You can resolve this error by changing the web.config file.

    With ASP.NET 4.0, add the following lines to your web.config:

     
          
     
    

    With ASP.NET 2.0/3.0/3.5, add the following lines to your web.config:

     
          
               
                    
               
          
     
    

提交回复
热议问题