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 / January 2007

Tip: Looking for answers? Try searching our database.

connect to webservice in Visual Studio

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
peter - 11 Jan 2007 09:12 GMT
Hi, I am developing a small webservice in Visual Studio (programmed in c#).
Sometimes when I try to run my small tester application in Visual Studio
(which tries to connect to my webservice) I get this error:

There was an error downloading 'http://localhost:1639/TestService.asmx.
Unable to connect to the remote server. No connection could be made because
the target machine actively refused it.

How can I start my webservice in Visual Studio so it accepts connections
from my test application?

Thanks, Peter
RYoung - 11 Jan 2007 18:21 GMT
You may need to make sure the port that the webservice is using is static. I
believe it is dynamic by default when the "cassini" web server is being
used. So, that with a dynamic port, the next time you test the service, it
may have a port number other than 1639.

In Solution Explorer, click your web service project, and check the
Properties window, there should be some settings in there to specify a
static port number.

Ron
> Hi, I am developing a small webservice in Visual Studio (programmed in
> c#). Sometimes when I try to run my small tester application in Visual
[quoted text clipped - 8 lines]
>
> Thanks, Peter

Rate this thread:







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.