2012-03-30 7 views
5

Recibo un error al acceder al servicio central en SDL Tridion 2011 SP1. Cuando estoy tratando de navegar /webservices/CoreService2011.svc desde el servidor IIS, se muestra el siguiente error:Error al acceder al servicio central en SDL Tridion 2011 SP1

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'. Parameter name: item

¿Puede alguien ayudar, cómo se puede rectificar.

+0

Hola muzimil, se puede visitar la propuesta Tridion StackExchange cuando se tiene un minuto, por favor? area51.stackexchange.com/proposals/38335/tridion Creemos que el puntaje de compromiso requiere visitas de vez en cuando, por lo que no lo incluimos en la figura de "usuarios con> 200 rep". ¡Gracias! –

Respuesta

6

Creo que tiene múltiples configuraciones de host para su Tridion CME. O al menos está intentando conectarse a su Administrador de contenido (en este caso, con el Servicio central) utilizando varios nombres de host.

Se puede tratar lo siguiente:

  • conectarse a través de localhost (obviamente cuando estás local en el servidor), por ejemplo http://localhost/webservices/CoreService2011.svc

  • Si lo anterior no funciona, intente buscar qué nombre de host está registrado en IIS para su sitio web SDL Tridion 2011 (en IIS 7, haga clic derecho en el sitio web, luego seleccione Editar enlaces ...). Trate de conectarse al servicio de núcleo utilizando el nombre de host definido en los enlaces de sitios web

  • Si anterior todavía no lo resuelve, tratar de editar el web.config bajo "Tridion_Home \ webservices" y añadir el siguiente nodo bajo configuration/system.ServiceModel

nodo:

<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"> 
<!-- The attribute "multipleSiteBindingsEnabled" was introduced in .net 4 and removes the need of http module: Tridion.Web.ServiceModel.HttpSvcPortFunneler --> 
<!-- For https protocol and/or multiport configuration, uncomment this. 
    There should be a <add /> entry for each unique combination of protocol and hostname that is configured in IIS Bindings. 
    <baseAddressPrefixFilters> 
     <add prefix="http://hostname:portnumber"/> 
     <add prefix="https://hostname"/> 
    </baseAddressPrefixFilters> 
--> 
</serviceHostingEnvironment> 
+0

Muchas gracias. El error fue un problema de autenticación. Hago Autenticación Anónima, autenticación de Windows. Por lo tanto, funcionó. – Patan

Cuestiones relacionadas