WCF Hosting in IIS RRS feed

  • Question

  • Hi All, 
      I have hosted my WCF Service (basicBinding + transport security + certificate was created using selfssl utility ) in IIS and my console client is able to access the application only if I enable Anonymous acces in IIS, is Anonymous Access has to be enabled ? even the WCF Security document in code plex also mention about enabling that.

    Also client is unable to consume the service if i enable "Require Client Certificates" option IIS secure communication Tab (Web Site-- > Directory Security -- > Secure Communications ) 

    WCF is hosted in WinXP machine having IIS v 5.1

    Thursday, January 15, 2009 5:45 AM


  • hi,

    This depends on how you configure both your server and client side. If you enable Anonymous access on the server, the your client side must use impersonateLevel = Anonymous to access the server. If you did enable Require Client Certificates instead of anonymous access on the server then you need to installed the certificate on the client as well to access the service.

    It's better for you to send me the configuration of both server and client to me so I can test it locally for you.

    Friday, January 16, 2009 11:05 AM