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 / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

Unable to reference web service located across network

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dei1c3 - 01 Nov 2005 03:29 GMT
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
dei1c3 - 01 Nov 2005 21:56 GMT
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.

> 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
[quoted text clipped - 17 lines]
>
> - Chris

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.