Re: Can't add web reference
- From: "Bryan Phillips" <bphillips@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 8 Mar 2007 12:35:24 +0000
You have to keep the ASP.Net web server running in order to connect to it. When you run the ASP.Net Web Service website, you will see an icon appear in your systray. Make sure that you do not close it. You will also need to change the Web Service website to NOT use dynamic ports so that your reference will not have to be constantly updated.
--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com
"Titus" <Titus@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:3018AF3F-90AA-446D-8BFF-37077DE2117D@xxxxxxxxxxxxx:
Hi,
Am having a bit of a problem adding web reference to a web service.
I created a new Web Service called Lotto using the Visual Web Developer 2005
Expression Edition by selecting New Website->ASP.NET Web Service Template.
The Web Service has been tested to work when I hit Build (it opened up IE to
display the Web Service, which returned the XML results I wanted). Then I
created a new Web App by selecting New Website->ASP.NET Web Site Template and
then selected Website->Add Web Reference, and entered
'http://localhost:3763/Lotto/Service.asmx', I got the following:
There was an error downloading 'http://localhost:3763/Lotto/Service.asmx'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it
Can someone please tell me what I need to do?
.
- Prev by Date: How to Obtains Default User or System Credentials for a Web Services Proxy running behind the Firewall
- Next by Date: Re: Can't add web reference
- Previous by thread: How to Obtains Default User or System Credentials for a Web Services Proxy running behind the Firewall
- Next by thread: Re: Can't add web reference
- Index(es):
Relevant Pages
|
Loading