Gần đây, tôi đã định cấu hình SDL Tridion 2011 CME của mình để sử dụng nhiều tiêu đề lưu trữ. Để cho phép CME tải, tôi đặt WCF.RedirectTo trong web.config thích hợp. Tuy nhiên, Dịch vụ cốt lõi của tôi không còn hoạt động nữa. Tôi nhận được lỗi sau:Tôi đã thiết lập phiên bản SDL Tridion 2011 của mình để chạy với nhiều tiêu đề máy chủ và bây giờ Dịch vụ cốt lõi không hoạt động. Làm thế nào để tôi sửa chữa nó?
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'.
Làm cách nào để khắc phục sự cố này?
multipleSiteBindings là đã đúng trong webroot \ chúng tôi b.config. Nó không có mặt ở tất cả trong webservices \ web.config. Thêm nó, và thiết lập nó thành true đã khắc phục được sự cố. –