IIS publish of WCF service -- fails with no error message

Posted by tavistmorph on Stack Overflow See other posts from Stack Overflow or by tavistmorph
Published on 2009-06-20T18:08:03Z Indexed on 2010/03/23 22:03 UTC
Read the original article Hit count: 142

Filed under:
|

I havea WCF service which I publish from Visual Studio 2008 to an IIS 6. According to the output window of VS, the publish succeeded, no error messages or warnings. When I look at IIS, the virtual directory was created, but there is no .svc listed in the directory. The directory just has my web.config and a bin. Any attempts to call my WCF service fail cause they don't exist. How can I see an error message of what's going wrong? By trial-and-error, I discovered changing my app.config before publishing will make the service show up. Namely my app.config file has these lines: <binding ...> <security mode="Transport"> <transport clientCreditionalType="None"/> </security> </binding>

If I switch "Transport" to "None", then my service shows up on IIS. But I do have a certificate installed on IIS on the server, and as far as I can tell, everything is configured correctly on the server.

There is no error message in the event log.

How can I get a find more error messages about why the service is failing to show up?

© Stack Overflow or respective owner

Related posts about iis

Related posts about wcf