簡體   English   中英

訪問SDL Tridion 2011 SP1上的核心服務時出錯

[英]Error while accessing the core service on SDL Tridion 2011 SP1

訪問SDL Tridion 2011 SP1上的核心服務時遇到錯誤。 當我嘗試從IIS服務器瀏覽/webservices/CoreService2011.svc ,它顯示以下錯誤:

此集合已包含一個使用方案http的地址。
該集合中每個方案最多可以有一個地址。 如果您的服務托管在IIS中,則可以通過將“ system.serviceModel / serviceHostingEnvironment / multipleSiteBindingsEnabled”設置為true或指定“ system.serviceModel / serviceHostingEnvironment / baseAddressPrefixFilters”來解決此問題。 參數名稱:項目

誰能幫忙,如何糾正。

我相信您為Tridion CME設置了多個主機名。 或者至少您正在嘗試使用多個主機名連接到Content Manager(在本例中為Core Service)。

您可以嘗試以下方法:

  • 使用localhost(顯然是在服務器上本地時)進行連接,例如http://localhost/webservices/CoreService2011.svc

  • 如果上述方法不起作用,請嘗試查找IIS中為SDL Tridion 2011網站注冊的主機名(在IIS 7中,右鍵單擊該網站,然后選擇“編輯綁定...”)。 嘗試使用網站綁定中定義的主機名連接到核心服務

  • 如果以上方法仍不能解決問題,請嘗試在“ Tridion_Home \\ webservices”下編輯web.config並在configuration / system.ServiceModel 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>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM