Ich habe 2 WCF-Dienste im IIS-Server gehostet.Fehler "Keine Protokollbindung entspricht der angegebenen Adresse ..."
Hier ist web.config
<?xml version="1.0"?>
<configuration>
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="HttpBinding" />
</basicHttpBinding>
</bindings>
<services>
<service name="BShop.Services.BubensService">
<endpoint address="http://localhost:9001/BubensService" binding="basicHttpBinding"
bindingConfiguration="HttpBinding" name="" contract="BShop.Services.IBubensService" />
</service>
<service name="BShop.Services.OrdersService">
<endpoint address="http://localhost:9001/OrdersService" binding="basicHttpBinding"
bindingConfiguration="HttpBinding" contract="BShop.Services.IOrdersService" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
</behavior>
</serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="false" />
</system.serviceModel>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>
</system.webServer>
</configuration>
Wenn ich versuche, es zu laufen Ich habe
Kein Protokoll-Bindung entspricht die angegebene Adresse 'http: // localhost: 9001/BubensService' . Protokollbindungen werden unter auf der Ebene Site in IIS oder WAS konfiguriert.
Was habe ich in Config vermisst?
Was ist der Unterschied zwischen der Definition der Adresse im Endpunkt und der Definition eines baseurl? Do 2 Base URL, 1 Server Targeting andere localhost-Targeting das Problem lösen? – batmaci