Note that there are some explanatory texts on larger screens.

plurals
  1. POIntegrated Windows Authentication WCF Multiple Host Headers IIS 6 not working
    primarykey
    data
    text
    <p>I have a asp.net 2.0 web site with WCF service hosted inside it running on .NET 3.5 framework. The website is setup with Integrated Windows Authentication only. The web server is IIS 6 with load balancing on Windows 2003 Sp2 (2 servers). I am unable to access the WCF service (.svc) using the full url (<strong>http://myqa2.abcdefg.com/trxn/WCFTrxnService.svc</strong>). Also note that the server is configured with multiple host headers. The website is protected by <strong>siteminder</strong>. Initially I was getting an error</p> <p><strong>This collection already contains an address with scheme http. There can be at most one address per scheme in this collection. Parameter name: item</strong></p> <p>So added the following config entry</p> <pre><code>&lt;serviceHostingEnvironment&gt; &lt;baseAddressPrefixFilters&gt; &lt;clear/&gt; &lt;add prefix="http://myqa2.abcdefg.com"/&gt; &lt;/baseAddressPrefixFilters&gt; &lt;/serviceHostingEnvironment&gt; </code></pre> <p>That error went away, but now I am being prompted for login by the browser. For same website, I am able to access .aspx page. The login prompt is appearing only for .svc file.</p> <p>Here is the binding / endpoint from config file that I am using.</p> <pre><code>&lt;system.serviceModel&gt; &lt;serviceHostingEnvironment&gt; &lt;baseAddressPrefixFilters&gt; &lt;clear/&gt; &lt;add prefix="http://myqa2.abcdefg.com"/&gt; &lt;/baseAddressPrefixFilters&gt; &lt;/serviceHostingEnvironment&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="IISIntegratedAuthBinding"&gt; &lt;security mode="TransportCredentialOnly"&gt; &lt;transport clientCredentialType="Windows"/&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="TestWCFFromSL.Web.WCFTrxnServiceBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true" httpGetUrl="http://myqa2.abcdefg.com/fmc/WCFNotesService.svc"/&gt; &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;services&gt; &lt;service name="TestWCFFromSL.Web.WCFTrxnService" behaviorConfiguration="TestWCFFromSL.Web.WCFTrxnServiceBehavior"&gt; &lt;endpoint address="http://myqa2.abcdefg.com/trxn/WCFTrxnService.svc" binding="basicHttpBinding" bindingConfiguration="IISIntegratedAuthBinding" contract="TestWCFFromSL.Web.IWCFTrxnService" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;!--&lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true"/&gt;--&gt; </code></pre> <p></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload