This collection already contains an address with scheme http



Hi

I get this error when I navigate to a web page hosting a WCF service:

System.ServiceModel.ServiceActivationException: The service
'/services/myservice.svc' cannot be activated due to an exception during
compilation. The exception message is: This collection already contains an
address with scheme http. There can be at most one address per scheme in
this collection.

I added this to the web.config file:

<system.serviceModel>
<serviceHostingEnvironment>
<baseAddressPrefixFilters>
<add prefix="http://localhost"/>
</baseAddressPrefixFilters>
</serviceHostingEnvironment>

This works until IIS recycles the application then I get the same error
again. The whole web application is precompiled (not updatable). The service
only uses a single https scheme, not http but the website does need to
listen on multiple http domains.

Any ideas?
Many thanks
Andrew

.



Relevant Pages

  • R5.97RS - as a single file of ASCII [LONG] (revised)
    ... Revised5 Report on the Algorithmic Language Scheme) ... version 4 reference manual. ... regular identifier in Scheme, bound to a procedure that adds ...
    (comp.lang.scheme)
  • R5.97RS - as a single file of ascii [LONG]
    ... Revised5 Report on the Algorithmic Language Scheme) ... version 4 reference manual. ... regular identifier in Scheme, bound to a procedure that adds ...
    (comp.lang.scheme)
  • R5.97RS - as a plain ascii text file [LONG]
    ... Revised5 Report on the Algorithmic Language Scheme) ... version 4 reference manual. ... regular identifier in Scheme, bound to a procedure that adds ...
    (rec.games.roguelike.development)
  • Re: implementing non local returns in C++
    ... Scheme stack as the C++ stack. ... well, yes and no. compiler developers have optimised exception handling for error handling, which makes it too inefficient but otherwise ideal for my purposes. ...
    (comp.lang.scheme)
  • Re: URL mit Passwort
    ... auszulesen, die per http zugänglich ist, aber eine Authentifizierung erfordert. ... The HTTP URL scheme is used to designate Internet resources ... While the syntax for the rest of the URL may vary depending on the ...
    (de.comp.lang.java)