I have a problem publishing a WCF service in IIS. I think the problem is in the configuration (web.config). This section is myModel:
<system.serviceModel> <services> <service name="rajon_wcf_service.Service1" behaviorConfiguration="rajon_wcf_service.Service1Behavior"> <endpoint address="" binding="wsHttpBinding" contract="rajon_wcf_service.IService1"> <identity> <dns value="localhost"/> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/> </service> </services> <behaviors> <serviceBehaviors> <behavior name="rajon_wcf_service.Service1Behavior"> <serviceMetadata httpGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
When I put the URI: http: //localhost/KOMPLAT/Service1.svc , I get the error message: HTTP 404.17 - Not Found
KOMPLAT is the name of my application in IIS. Thanks.
source share