473,383 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 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 6908
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
0
by: Mark Finkel | last post by:
I have developed a web service on my own PC which works properly. Deploying it to the production web farm I copy all .aspx files and \bin for both the service and the app that calls it. When I try...
10
by: Bryan Dickerson | last post by:
I fairly have my Web Service working the way that I want, so my next step will be to deploy it on a server. Do I just add a deployment/install project, build it and install it on the server? ...
3
by: Joe | last post by:
Anyone with tips, suggestions, or web links about deploying a Windows Service? How to get it installed, configured correctly, etc... -- Using Opera's revolutionary e-mail client:...
8
by: Afshar | last post by:
Hi Group, Please help ending my Nightmare! There's a Windows Service written in VC++ and I have an ASP.NET project that uses this sevice as a COM library. It just works fine in VS Internal Web...
3
by: Christian Nunciato | last post by:
Hi there: I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I run the app on my local machine, using the built-in Web server, I have no problems, but deploying the site...
1
by: dfererer | last post by:
Dear all, I want to install and run ClickOnce Deploying application under a Windows Service,I have make the service starting the application successfully(user API...
0
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System;...
0
by: Laxmikumar | last post by:
Iam new to web services, Iam using net beans-5.5.1 IDE whlie deploying the web service application the following error is occured. can anyone help me..??? please. init: deps-module-jar:...
3
by: kkao77 | last post by:
can you show me in more detail? I have same problem where on the page it's https://service.premilance.com/Company.svc, but the svcutil tells me to get it from https://pserver1/Company.svc?wsdl...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.