How to deploy new wssf on shared hosting

Topics: General Discussion Forum
Jul 29, 2009 at 3:11 PM
Edited Jul 29, 2009 at 5:43 PM

actually i did first wssf it's working well at the localhost ( but ) in the shared hosting like godaddy it doesn't work at all , give me error like this:

This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection.
Parameter name: item

karim

Jul 30, 2009 at 9:17 AM
Edited Aug 2, 2009 at 1:43 PM

i solved this problem by using this code at web.config of web service:

<system.serviceModel>


    <serviceHostingEnvironment>
      <baseAddressPrefixFilters>
        <add prefix="http://mywebsite(contain web service)" />
      </baseAddressPrefixFilters>
    </serviceHostingEnvironment>

Aug 2, 2009 at 2:53 AM

Good tip.

Karim, did that work for you?

Aug 2, 2009 at 2:50 PM

yes it's working well , note that you have to write the fall bath of the svc file ( wcf )

Karim