Deploying WCF Service


B

Baffled

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.
 
Ad

Advertisements

N

Nicholas Paldino [.NET/C# MVP]

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.
 
Ad

Advertisements

B

Baffled

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top