No protocol binding matches the given address for WCF-service

irenepine

New Member
I am running a website (ASP.Net 4) using IIS6. I get the following error message when I try to run a svc-service:\[code\] `No protocol binding matches the given address 'http://www.holtalen.kommune.no/Templates/eDemokrati/Services/eDemokratiService.svc'`. Protocol bindings are configured at the Site level in IIS or WAS configuration. 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.InvalidOperationException: No protocol binding matches the given address 'http://www.holtalen.kommune.no/Templates/eDemokrati/Services/eDemokratiService.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [InvalidOperationException: No protocol binding matches the given address 'http://www.holtalen.kommune.no/Templates/eDemokrati/Services/eDemokratiService.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.] [ServiceActivationException: No protocol binding matches the given address 'http://www.holtalen.kommune.no/Templates/eDemokrati/Services/eDemokratiService.svc'. Protocol bindings are configured at the Site level in IIS or WAS configuration.] System.Runtime.AsyncResult.End(IAsyncResult result) +679246 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +190 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, String routeServiceVirtualPath, Boolean flowContext, Boolean ensureWFService) +234 System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +355 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously\[/code\]I have added the extension .svc as an application mapping for the site.Parts of Web.config:\[code\]<system.serviceModel> <extensions> <bindingElementExtensions> <add name="udpTransport" type="Microsoft.ServiceModel.Samples.UdpTransportElement, EPiServer.Events" /> </bindingElementExtensions> </extensions> <services> <service name="EPiServer.Events.Remote.EventReplication" behaviorConfiguration="DebugServiceBehaviour"> <endpoint name="RemoteEventServiceEndPoint" contract="EPiServer.Events.ServiceModel.IEventReplication" binding="customBinding" bindingConfiguration="RemoteEventsBinding" address="soap.udp://239.255.255.19:5000/RemoteEventService" /> <service name="SSP.eDemokrati.Templates.Services.eDemokratiService" > <endpoint contract="SSP.eDemokrati.Templates.Services.eDemokratiService" binding="webHttpBinding"/> </service> </services> <client> <endpoint name="RemoteEventServiceClientEndPoint" address="soap.udp://239.255.255.19:5000/RemoteEventService" binding="customBinding" bindingConfiguration="RemoteEventsBinding" contract="EPiServer.Events.ServiceModel.IEventReplication" /> </client> <behaviors> <serviceBehaviors> <behavior name="DebugServiceBehaviour"> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> <bindings> <customBinding> <binding name="RemoteEventsBinding"> <binaryMessageEncoding /> <udpTransport multicast="True" /> </binding> </customBinding> </bindings> </system.serviceModel>\[/code\]What configuration should I add to IIS in order to get this to work?
 
Back
Top