1
我得到一個404當過我嘗試打開一個.svc文件在IIS 7.5,從web配置我的system.serviceModel低於:WCF SVC未註冊的從IIS
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="MyBinding">
<security mode="Transport">
<transport clientCredentialType="Windows" />
</security>
</binding>
</wsHttpBinding>
</bindings>
<behaviors>
<serviceBehaviors>
<behavior name="ServiceBehavior">
<!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
<serviceMetadata httpsGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="ServiceBehavior" name="Gsfa.Gsfbs.Integration.Services.MemberIntegrationService">
<endpoint address="https://gsfdevmatthewc/MemberIntegrationService.svc" binding="wsHttpBinding" bindingConfiguration="MyBinding" contract="Gsfa.Gsfbs.Integration.Contracts.IMemberIntegrationService" />
</service>
</services>
</system.serviceModel>
你用什麼地址。您在端點中指定的地址未被使用。您的託管網站的地址很重要。 –
好的,我已經做了一些更多的挖掘工作,它已經退出了iis中的Handler Mappings。 – Korich