Deploying WCF Service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?QmFmZmxlZA==?=

    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.
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Deploying WCF Service

    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]
    - mvp@spam.guard. caspershouse.co m

    "Baffled" <Baffled@discus sions.microsoft .comwrote in message
    news:BB98F45C-F2BF-4012-BC44-73C07025B833@mi crosoft.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.

    Comment

    • =?Utf-8?B?QmFmZmxlZA==?=

      #3
      RE: Deploying WCF Service

      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.

      Comment

      Working...