Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 22nd, 2005, 09:10 PM
Registered User
Join Date: Nov 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Working With Ports

Does it make sense?
I added a Web Service Reference to a Windows Application. If I run it from the .exe file it works fine. But if I run it from the Development Environment it sends errors such as:
- The underlying connection was closed: An unexpected error occurred on a receive, Or
- The underlying connection was closed: An unexpected error occurred on a send, Or
- The underlying connection was closed: Unable to connect to remote server.
Someone helped me with the communications issue. He said that when I run it from the exe file, it connects to the port 80. But from the dev. env. it's trying to connect to the port 8080!
So I tried something like WebService.Url = "http://url:80", but it's still sending the same errors.
Any Idea will be greatly appreciated, thanks.
  #2 (permalink)  
Old November 27th, 2005, 02:13 PM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma

It could be due the Debugger User account doesnt have enough rights.

Ankur Verma

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple receive ports in an orchestration cmiller66 Biztalk 4 August 14th, 2013 06:56 AM
Need information on ports acelives Other Programming Languages 1 May 29th, 2011 09:00 AM
TCP Dynamic Ports tswaney SQL Server 2005 1 October 27th, 2006 11:56 PM
IDENTIFYING THE PORTS abdul_owiusa C# 3 August 7th, 2004 04:11 AM
ports abdul_owiusa C# 1 August 6th, 2004 06:09 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.