473,387 Members | 1,722 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,387 software developers and data experts.

Unable to reference web service located across network

I've written a simple web service and deployed it to a server on my local
network. However, when I try to add a web reference to it in a VS2005
project on my dev machine, I am unable to. When I use the "Add Web
Reference" dialog and enter the URL to the web service, I get a "The page
cannot be displayed" error.

I'm guessing it's one of two possibilities:

1) I'm using the wrong path. When developing and testing the web service on
my dev machine I used the //localhost/folder/service.asmx path to reference
it. Now that I've deployed it to the server, I am using a path of //server
ip address/folder/service.asmx. Is this the correct path to use?

2) The server has an incorrect IIS config or setting. Unfortunately, I
don't know very much about IIS. Off the top of my head I can tell you that
the setup is IIS 5.1 running on WinXP Pro. I'll, of course, provide any
information you need that might help resolve this issue.

Thank you.

- Chris
Nov 23 '05 #1
1 1116
Ugh. It turns out Windows Firewall was the problem. Port 80 was being
blocked (as it is by default) so OF COURSE I couldn't get to the web service
from another machine.

Anyway, embarassing, but I figured I would post this in case someone else
came looking for a solution to the same problem.

"dei1c3" wrote:
I've written a simple web service and deployed it to a server on my local
network. However, when I try to add a web reference to it in a VS2005
project on my dev machine, I am unable to. When I use the "Add Web
Reference" dialog and enter the URL to the web service, I get a "The page
cannot be displayed" error.

I'm guessing it's one of two possibilities:

1) I'm using the wrong path. When developing and testing the web service on
my dev machine I used the //localhost/folder/service.asmx path to reference
it. Now that I've deployed it to the server, I am using a path of //server
ip address/folder/service.asmx. Is this the correct path to use?

2) The server has an incorrect IIS config or setting. Unfortunately, I
don't know very much about IIS. Off the top of my head I can tell you that
the setup is IIS 5.1 running on WinXP Pro. I'll, of course, provide any
information you need that might help resolve this issue.

Thank you.

- Chris

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Belsam | last post by:
Hi all I need to create a windows service that will wait for a file to be copied somewhere, write it to the database, and then move the file to a storage area. I don't know when the file will...
6
by: Jeff | last post by:
Has anyone had any luck accessing an Oracle database from a web service? I have a C# DLL with various code to query an Oracle database. If I call the methods in this DLL from a Windows Forms...
2
by: Mark | last post by:
I created an extremely simple windows service that only writes to the EventLogs on Stop and Pause. I installed it using the InstallUtil.exe program, the output of which is below. It appears to be...
1
by: James Proctor | last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my clients is intrested in a web based application, so im trying to play on and learn it a tad. However im comming across lots...
5
by: benliu | last post by:
i have a visual studio website that i am integrating with community server, a third party software for creating communities. To paraphrase, i am trying to have users that log in to my site...
2
by: ashishjainism | last post by:
I am unable to install my windows service and the installutil is throwing the following error: Running a transacted installation. Beginning the Install phase of the installation. See the...
0
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
I use a web service to download files over the net. This works fine when the files are located on the web services local hard disk. However, it fails when the files are located on a shared network...
3
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back...
0
balabaster
by: balabaster | last post by:
Hi all, I'm creating a class factory and a bunch of adapters to allow in house applications to communicate with mobile applications over different cellular networks. I've got my class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.