Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Deploying WCF Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Baffled - 11 Feb 2008 21:13 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.