I am trying to deploy a WCF Service on one of our Windows Server 2003
machines so that I can access it from a second machine. I have tried
creating WCF Service library and a WCF Service Application. I have an
asp.net program that uses the service that I have also created. Everything
works fine on my development machine but as soon as I try to deploy the
service on the server I can no longer access it. I have tried accessing it
from a second machine and I have tried installing everything on the server
but the asp.net program still can not access the service. Is there any good
tutorial out there on how to deploy a WCF service. MS has made it easy to
add a service reference if the service is in the solution but they do not
make it easy to set it up in real life. Thanks in advance.
Nicholas Paldino [.NET/C# MVP] - 11 Feb 2008 21:21 GMT
Baffled,
Well, they probably have made it easy, you just might be missing
something minor.
What kind of authentication and binding are you using? It's possible
that if you are using Windows authentication on the binding that you are
using that you don't have your service configured to allow the ASPNET user
access to the service.

Signature
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
>I am trying to deploy a WCF Service on one of our Windows Server 2003
> machines so that I can access it from a second machine. I have tried
[quoted text clipped - 10 lines]
> add a service reference if the service is in the solution but they do not
> make it easy to set it up in real life. Thanks in advance.
Baffled - 07 Mar 2008 21:47 GMT
I was able to get this working. First in visual studios I changed the
outpath on the service project so that it created the binary files at the
second server.
I then had to change the website to allow anonymous logins. This was done
by managing my application server, Selecting the web site right clicking and
selecting properties. I then selected the Directory Security tab and clicked
the Edit button in the Authentication and Access control section. You will
see the checkbox there.
> I am trying to deploy a WCF Service on one of our Windows Server 2003
> machines so that I can access it from a second machine. I have tried
[quoted text clipped - 7 lines]
> add a service reference if the service is in the solution but they do not
> make it easy to set it up in real life. Thanks in advance.