Unofficial Content
  • This documentation is valid for:

This collection already contains an address with scheme http. 

This collection already contains an address with scheme http.  There can be at most one address per scheme in this collection. If your service is being hosted in IIS you can fix the problem by setting 'system.serviceModel/serviceHostingEnvironment/multipleSiteBindingsEnabled' to true or specifying 'system.serviceModel/serviceHostingEnvironment/baseAddressPrefixFilters'

Esta colección ya contiene una dirección con el esquema http. Sólo puede haber una dirección por esquema en esta colección.
Nombre del parámetro: item* * Descripción: *Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.
* Detalles de la excepción: *System.ArgumentException: Esta colección ya contiene una dirección con el esquema http. Sólo puede haber una dirección por esquema en esta colección.

Reasons/Solutions:

To make this working open the web config file, and add following in the serviceModel element:

<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />

It is only apply with Framework 4.0 runtime.

For previous version check http://social.msdn.microsoft.com/Forums/en/wcf/thread/db03ca50-c926-4176-b292-cf1a2687a8be or disabled bidning from Iis/webSite/Edit Bindings

More information 

http://social.msdn.microsoft.com/Forums/en/adodotnetdataservices/thread/e028cea6-5b40-4a43-b395-d966bc93ffd5
http://developers.de/blogs/damir_dobric/archive/2010/02/28/how-to-enable-multiple-site-bindings-in-wcf-4-0.aspx
 


Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant