2012-03-30 12 views
5

SDL Tridion 2011 SP1のコアサービスにアクセスする際にエラーが発生しました。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

は、いずれかのヘルプは、それがどのように修正することができることができます:私は、IISサーバーから/webservices/CoreService2011.svcを閲覧しようとしていた場合、それは次のようなエラーが表示されます。

+0

こんにちはmuzimilあなたは分を持っているとき、あなたはTridionのStackExchangeの提案をしてください訪れるだろうか? area51.stackexchange.com/proposals/38335/tridionコミットメントスコアには随時訪問が必要であると考えており、「200人以上のユーザー」にはあなたを含めていません。ありがとう! –

答えて

6

あなたのTridion CMEに複数のホスト名が設定されていると思います。または、少なくとも、複数のホスト名を使用してContent Managerに接続しようとしています(この場合はコアサービスを使用しています)。

次を試すことができます:

  • は、例えば(明らかにあなたは、サーバー上のローカルの場合)ローカルホストを使用して接続http://localhost/webservices/CoreService2011.svc

    上記の方法ではうまくいかない場合は、SDL Tridion 2011のWebサイト(IIS 7では、Webサイトを右クリックし、[バインディングの編集...]を選択します)にIISで登録されているホスト名を調べます。まだそれを解決していない上に、「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のautheneticationを有効にします。それゆえ、それは働いた。 – Patan

関連する問題