首页 文章

访问SDL Tridion 2011 SP1上的核心服务时出错

提问于
浏览
5

我在访问SDL Tridion 2011 SP1上的核心服务时遇到错误 . 当我尝试从IIS服务器浏览 /webservices/CoreService2011.svc 时,它显示以下错误:

此集合已包含方案http的地址 . 此集合中每个方案最多只能有一个地址 . 如果您的服务是在IIS中托管的,则可以通过将'system.serviceModel / serviceHostingEnvironment / multipleSiteBindingsEnabled'设置为true或指定'system.serviceModel / serviceHostingEnvironment / baseAddressPrefixFilters'来解决问题 . 参数名称:item

任何人都可以提供帮助,如何纠正 .

1 回答

  • 6

    我相信您为Tridion CME设置了多个主机名 . 或者至少您尝试使用多个主机名连接到Content Manager(在本例中为Core Service) .

    你能尝试以下方法吗?

    • 使用localhost连接(显然当你在服务器上是本地的)时 . http://localhost/webservices/CoreService2011.svc

    • 如果上述方法无效,请尝试查找IIS中为SDL Tridion 2011网站注册的主机名(在IIS 7中,右键单击该网站,然后选择编辑绑定...) . 尝试使用网站绑定中定义的主机名连接到Core Service

    • 如果仍然无法解决问题,请尝试在"Tridion_Home\webservices"下编辑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>
    

相关问题