471,049 Members | 1,531 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

Deploying WCF Service

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.
Feb 11 '08 #1
2 6798
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.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Baffled" <Ba*****@discussions.microsoft.comwrote in message
news:BB**********************************@microsof t.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
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.

Feb 11 '08 #2
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.
"Baffled" wrote:
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.
Mar 9 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Rachel | last post: by
reply views Thread by Mark Finkel | last post: by
10 posts views Thread by Bryan Dickerson | last post: by
3 posts views Thread by Joe | last post: by
3 posts views Thread by Christian Nunciato | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.