Недавно я настроил свой SDL Tridion 2011 CME для использования нескольких заголовков хостов. Чтобы включить загрузку CME, я устанавливаю WCF.RedirectTo в соответствующий файл web.config. Однако моя основная служба больше не работает. Я получаю следующую ошибку:Я установил свой экземпляр SDL Tridion 2011 для запуска с несколькими заголовками хостов, и теперь Core Service не работает. Как это исправить?
WebHost failed to process a request. Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/63835064 Exception: System.ServiceModel.ServiceActivationException: The service '/webservices/CoreService.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. 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. ---> System.ArgumentException: 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'.
Как исправить это?
multipleSiteBindings уже было верно в WebRoot \ мы b.config. Его вообще не было в webservices \ web.config. Добавив его и установив его в true, исправлена проблема. –