2012-03-30 55 views
5

訪問SDL Tridion 2011 SP1上的核心服務時出現錯誤。當我試圖瀏覽/webservices/CoreService2011.svc從IIS服務器,它顯示了以下錯誤:訪問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

任何一個可以幫助,怎麼可以得到糾正。

+0

嗨muzimil,你可以訪問外表套上StackExchange建議,當你有時間嗎? area51.stackexchange.com/proposals/38335/tridion我們認爲承諾得分需要不時進行訪問,因此不會將您包括在「用戶數超過200的用戶」中。謝謝! – 2012-04-11 07:18:01

回答

6

我相信你的Tridion CME有多個主機名設置。或者至少您嘗試使用多個主機名連接到您的Content Manager(在這種情況下,使用Core Service)。

你可以嘗試以下方法:

  • 連接使用本地主機(很明顯,當你在服務器上本地)如http://localhost/webservices/CoreService2011.svc

  • 如果上述操作不起作用,請嘗試查找在IIS中爲您的SDL Tridion 2011網站註冊了什麼主機名(在IIS 7中,右鍵單擊該網站,然後選擇編輯綁定...)。嘗試使用在網站綁定

  • 定義的主機名。如果以上還沒有解決這個問題,嘗試在「Tridion_Home \ web服務」編輯你的web.config和configuration/system.ServiceModel

  • 下添加以下節點連接到核心服務

節點:

<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

非常感謝。該錯誤是身份驗證問題。我啓用匿名身份驗證,Windows認證。因此它工作。 – Patan 2012-03-30 10:04:54

相關問題