![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have a asmx webservice that I am using. I am running that locally from within Visual Studio 2005. The client winform has a reference to that local webservice. When I first load my project in VS2005 (using TFS as code management) and try to run my client - it gives an error that it can't find the webservice. If I go and try to do an Update in my web references to this webservice, it gives me another error: "There was an error downloading http://localhost:45683/MyService.asm'. Unable to connect to the remote server...' In order to get my webservice to work I need to delete the Web Reference to it and then re-add it. Then all is fine. Is this the only way to get the webservice to run? |
#3
| |||
| |||
|
|
"Bill44077" <Bill44077 (AT) discussions (DOT) microsoft.com> wrote in message news:7927E65C-937B-478D-A937-9AB644398C81 (AT) microsoft (DOT) com... Hi, I have a asmx webservice that I am using. I am running that locally from within Visual Studio 2005. The client winform has a reference to that local webservice. When I first load my project in VS2005 (using TFS as code management) and try to run my client - it gives an error that it can't find the webservice. If I go and try to do an Update in my web references to this webservice, it gives me another error: "There was an error downloading http://localhost:45683/MyService.asm'. Unable to connect to the remote server...' In order to get my webservice to work I need to delete the Web Reference to it and then re-add it. Then all is fine. Is this the only way to get the webservice to run? If you look at your Project properties, you'll find that you have the web service set to run in the Local VS Web Server, using a random port. Most likely, you don't want your random port number to be stored in TFS, because the next developer who works on the project will be using a different random port number. Instead, you may want to pick a port number, or to run from IIS. -- -------------------------------------------------------------------------------- John Saunders | MVP - Windows Server System - Connected System Developer |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |