アプリケーションプールを実行しているドメインアカウントを使用して、ホストされたWCFサービス、IIS7で.net 3.5sp1を使用します。私はWindows認証、wsHttpBinding、および匿名をオフにする必要があります。Windowsの認証のみでIIS7のWCFサービスでwsHttpBinding
このサービスのセキュリティ設定には「匿名」認証が必要ですが、このサービスをホストするIISアプリケーションでは有効になっていません。
約50種類のweb.config設定を試しましたが、喜びはありません。
現在のweb.configファイル:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="PressReleaseService.PRBehavior">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="PressReleaseService.PRBehavior" name="PressReleaseService.PR">
<endpoint address="" binding="wsHttpBinding" contract="PressReleaseService.IPR">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
</service>
</services>
<bindings>
<wsHttpBinding>
<binding name="WSHttpBinding_IPR" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
transactionFlow="false" hostNameComparisonMode="StrongWildcard"
maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<reliableSession ordered="true" inactivityTimeout="00:10:00"
enabled="false" />
<security mode="Message">
<message clientCredentialType="Windows" negotiateServiceCredential="false"
algorithmSuite="Default" establishSecurityContext="true" />
</security>
</binding>
</wsHttpBinding>
</bindings>
</system.serviceModel>
また、同じアプリケーションプールの下で実行されている他のサービスがあり、それはそれでmexでいるが、主要エンドポイントのwsHTTPBindingを持っており、それはWindows認証のみがで有効になっていますIIS。
手がかりはありますか?