Note that there are some explanatory texts on larger screens.

plurals
  1. POProperly configuration of IIS6 and WCF
    text
    copied!<p>I have windows server 2003 with iss 6 and installed framework NET 4.0. Then with this article <a href="http://msdn.microsoft.com/en-gb/library/aa751792.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-gb/library/aa751792.aspx</a> I configured IIS (run ServiceModelReg.exe /i /x and have positive result) Now I trying to run WCF Service consists of Service1.svc, Web.Config and bin/anyname.dll (generated by default project in VS2010) When I run it from the browser i catch this error:</p> <pre><code> Server Error in '/ppgswcfrequests' Application. 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 Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: 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 </code></pre> <p>Maybe my virtual catalog on IIS configured wrong? <img src="https://i.stack.imgur.com/FCt4q.jpg" alt="enter image description here"></p>
 

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