Home — Zeiterfassung — KB0613: Fehler nach Update des Web-Clients

KB0613: Fehler nach Update des Web-Clients

BESCHREIBUNG

Nach einem Update des TimeSafe Zeiterfassungs-Webclients kann die SOAP-Schnittstelle nicht mehr aufgerufen werden.

Est tritt ein Fehler auf beim Start der TimeSafe Leistungserfassung oder beim Aufruf der URL:

http://IhreWebClientURL/services/cockpit.svc

Fehlermeldung:

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.

LÖSUNG

Im „Web.config“-File des Web-Clients muss im Tag:

<serviceHostingEnvironment>

folgender Parameter ergänzt werden:

multipleSiteBindingsEnabled="true"

Resultat:

<serviceHostingEnvironment multipleSiteBindingsEnabled="true">
   <serviceActivations>
      <add relativeAddress="relative-virtual-path/services/cockpit.svc" service="Infotech.TimeSafeZeiterfassung.UI.Webclient.Services.Cockpit" />
   </serviceActivations>
</serviceHostingEnvironment>
<bindings>