Ask a Question related to ASP.NET Web Services, Design and Development.
-
David #1
desperate call for help: "The underlying connection was closed: Unable to connect to the remote server.
I have a web service running on a server.
With my brower, I can get the asmx page and get the expected output on the
page.
With a console application, I can call the webservice and retrieve from it
what I am supposed to retrieve.
Only when an ASP.NET application calls the web service, do I get the "the
underlying connection was closed: Unable to connect to the remote server"
error message.
The only relevent msdn page
([url]http://support.microsoft.com/default.aspx?scid=kb;en-us;819450[/url]) isn't very
helpful. It says MS has confirmed it as a bug, and says to contact them
for a fix!!!! And there might be a charge! ARE YOU KIDDING ME?
The last time I contacted them, it was like talking to a wall.
Thanks. Any help would be greatly appreciated.
David Guest
-
Error: "The underlying connection was closed: Unable to connect to the remote server."
We have developed a Web Service with vb.net using VS 2003 on a Windows 2003 Server. The Test application that we developed is passing 6 parameters... -
The underlying connection was closed: Unable to connect to the remote server.
Hello, I'm a novice to .net environment. I'm trying to make use of a webservice in my asp.net client application. I successfully added reference... -
webservice problem: The underlying connection was closed: Unable to connect to the remote server
Hello All! I also have the unfamous error described in subject. I created the HelloWorld webservice simplest way by uncommenting the HelloWorld... -
System.Net.WebException: The underlying connection was closed: The remote name could not be resolved.
This is driving me crazy!!!! I started working on an application in C# for ASP.Net and realized that I needed a web service. I created the web... -
The underlying connection was closed: Unable to connect to the remote server
These code generates the error: WebRequest request = WebRequest.Create("http://www.yahoo.com"); WebResponse response = request.GetResponse(); ... -
Dan Rogers #2
RE: desperate call for help: "The underlying connection was closed: Unable to connect to the remote server.
Hi David,
Have you tried setting the proxy-side keep alives to "false"? This may
remedy the situation.
Dan Rogers
Microsoft Corporation
--------------------Unable to connect to the remote server.>From: "David" <spammersgohome@spammersgohome.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>Subject: desperate call for help: "The underlying connection was closed:23:23:58 PST)>Lines: 22
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-RFC2646: Format=Flowed; Original
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>Message-ID: <iABod.101790$Kl3.62295@twister.socal.rr.com>
>Date: Tue, 23 Nov 2004 07:23:58 GMT
>NNTP-Posting-Host: 67.52.118.62
>X-Complaints-To: [email]abuse@rr.com[/email]
>X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi>NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
>Organization: RoadRunner - West
>Path:
x.com!newsfeed.cwix.com!news.umass.edu!arclight.uo regon.edu!hammer.uoregon.e
du!logbridge.uoregon.edu!tethys.csu.net!newshub.sd su.edu!elnk-nf2-pas!elnk-p
as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cy clone2.kc.rr.com!news2.
kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:26763>Xref: cpmsftngxa10.phx.gblvery>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>I have a web service running on a server.
>
>With my brower, I can get the asmx page and get the expected output on the
>page.
>
>With a console application, I can call the webservice and retrieve from it
>what I am supposed to retrieve.
>
>Only when an ASP.NET application calls the web service, do I get the "the
>underlying connection was closed: Unable to connect to the remote server"
>error message.
>
>The only relevent msdn page
>([url]http://support.microsoft.com/default.aspx?scid=kb;en-us;819450[/url]) isn't>helpful. It says MS has confirmed it as a bug, and says to contact them
>for a fix!!!! And there might be a charge! ARE YOU KIDDING ME?
>
>The last time I contacted them, it was like talking to a wall.
>
>Thanks. Any help would be greatly appreciated.
>
>
>Dan Rogers Guest
-
David #3
Re: desperate call for help: "The underlying connection was closed: Unable to connect to the remote server.
Is that a IIS setting?
Do you mean HTTP Keep-Alives enabled? I tried that and it still does not
work.
"Dan Rogers" <danro@microsoft.com> wrote in message
news:R5Xshba0EHA.1952@cpmsftngxa10.phx.gbl...> Hi David,
>
> Have you tried setting the proxy-side keep alives to "false"? This may
> remedy the situation.
>
> Dan Rogers
> Microsoft Corporation
> --------------------> Unable to connect to the remote server.>>From: "David" <spammersgohome@spammersgohome.com>
>>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>>Subject: desperate call for help: "The underlying connection was closed:> 23:23:58 PST)>>Lines: 22
>>X-Priority: 3
>>X-MSMail-Priority: Normal
>>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>>X-RFC2646: Format=Flowed; Original
>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>>Message-ID: <iABod.101790$Kl3.62295@twister.socal.rr.com>
>>Date: Tue, 23 Nov 2004 07:23:58 GMT
>>NNTP-Posting-Host: 67.52.118.62
>>X-Complaints-To: [email]abuse@rr.com[/email]
>>X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004> cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi>>NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
>>Organization: RoadRunner - West
>>Path:
> x.com!newsfeed.cwix.com!news.umass.edu!arclight.uo regon.edu!hammer.uoregon.e
> du!logbridge.uoregon.edu!tethys.csu.net!newshub.sd su.edu!elnk-nf2-pas!elnk-p
> as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cy clone2.kc.rr.com!news2.
> kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail> microsoft.public.dotnet.framework.aspnet.webservic es:26763>>Xref: cpmsftngxa10.phx.gbl> very>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>>
>>I have a web service running on a server.
>>
>>With my brower, I can get the asmx page and get the expected output on the
>>page.
>>
>>With a console application, I can call the webservice and retrieve from it
>>what I am supposed to retrieve.
>>
>>Only when an ASP.NET application calls the web service, do I get the "the
>>underlying connection was closed: Unable to connect to the remote server"
>>error message.
>>
>>The only relevent msdn page
>>([url]http://support.microsoft.com/default.aspx?scid=kb;en-us;819450[/url]) isn't>>>helpful. It says MS has confirmed it as a bug, and says to contact them
>>for a fix!!!! And there might be a charge! ARE YOU KIDDING ME?
>>
>>The last time I contacted them, it was like talking to a wall.
>>
>>Thanks. Any help would be greatly appreciated.
>>
>>
>>
David Guest
-
Dan Rogers #4
Re: desperate call for help: "The underlying connection was closed: Unable to connect to the remote server.
Hi David,
No, not on the IIS side. On the proxy side. In the proxy that was
generated when you did an add-web-reference, there is a setting that
governs when/if the proxy requests a keep alive.
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------<R5Xshba0EHA.1952@cpmsftngxa10.phx.gbl>>From: "David" <spammersgohome@spammersgohome.com>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>References: <iABod.101790$Kl3.62295@twister.socal.rr.com>closed: Unable to connect to the remote server.>Subject: Re: desperate call for help: "The underlying connection was18:50:39 PST)>Lines: 70
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>X-RFC2646: Format=Flowed; Original
>Message-ID: <3YRpd.112042$Kl3.57133@twister.socal.rr.com>
>Date: Sat, 27 Nov 2004 02:50:39 GMT
>NNTP-Posting-Host: 67.52.118.62
>X-Complaints-To: [email]abuse@rr.com[/email]
>X-Trace: twister.socal.rr.com 1101523839 67.52.118.62 (Fri, 26 Nov 2004cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado .fastwebnet.it!tiscali!new>NNTP-Posting-Date: Fri, 26 Nov 2004 18:50:39 PST
>Organization: RoadRunner - West
>Path:
sfeed1.ip.tiscali.net!news.glorb.com!newshub.sdsu. edu!elnk-nf2-pas!elnk-pas-
nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cy clone2.kc.rr.com!news2.kc.
rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mailmicrosoft.public.dotnet.framework.aspnet.webservic es:26825>Xref: cpmsftngxa10.phx.gblcpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!news-out.cwi>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>
>Is that a IIS setting?
>
>Do you mean HTTP Keep-Alives enabled? I tried that and it still does not
>work.
>
>"Dan Rogers" <danro@microsoft.com> wrote in message
>news:R5Xshba0EHA.1952@cpmsftngxa10.phx.gbl...>> Hi David,
>>
>> Have you tried setting the proxy-side keep alives to "false"? This may
>> remedy the situation.
>>
>> Dan Rogers
>> Microsoft Corporation
>> -------------------->> Unable to connect to the remote server.>>>From: "David" <spammersgohome@spammersgohome.com>
>>>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservic es
>>>Subject: desperate call for help: "The underlying connection was closed:>> 23:23:58 PST)>>>Lines: 22
>>>X-Priority: 3
>>>X-MSMail-Priority: Normal
>>>X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
>>>X-RFC2646: Format=Flowed; Original
>>>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
>>>Message-ID: <iABod.101790$Kl3.62295@twister.socal.rr.com>
>>>Date: Tue, 23 Nov 2004 07:23:58 GMT
>>>NNTP-Posting-Host: 67.52.118.62
>>>X-Complaints-To: [email]abuse@rr.com[/email]
>>>X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004>>>>>NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
>>>Organization: RoadRunner - West
>>>Path:x.com!newsfeed.cwix.com!news.umass.edu!arclight.uo regon.edu!hammer.uoregon.e>>du!logbridge.uoregon.edu!tethys.csu.net!newshub.sd su.edu!elnk-nf2-pas!elnk-p>>as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cy clone2.kc.rr.com!news2.>>the>> kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail>> microsoft.public.dotnet.framework.aspnet.webservic es:26763>>>Xref: cpmsftngxa10.phx.gbl>>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservic es
>>>
>>>I have a web service running on a server.
>>>
>>>With my brower, I can get the asmx page and get the expected output onit>>>page.
>>>
>>>With a console application, I can call the webservice and retrieve fromserver">>>what I am supposed to retrieve.
>>>
>>>Only when an ASP.NET application calls the web service, do I get the "the
>>>underlying connection was closed: Unable to connect to the remote>>> very>>>error message.
>>>
>>>The only relevent msdn page
>>>([url]http://support.microsoft.com/default.aspx?scid=kb;en-us;819450[/url]) isn't>>>>>helpful. It says MS has confirmed it as a bug, and says to contact them
>>>for a fix!!!! And there might be a charge! ARE YOU KIDDING ME?
>>>
>>>The last time I contacted them, it was like talking to a wall.
>>>
>>>Thanks. Any help would be greatly appreciated.
>>>
>>>
>>>
>
>Dan Rogers Guest
-
Unregistered #5
Re: desperate call for help: "The underlying connection was closed: Unable to connec
Hi,
Iam aslo facing the same problem, web srervice URL is working fine if i browse using IE, and web service works properly in console application but doesnot work using windows service. I get error mesage as "Unable to connect to remote server".
Please reply asap.
Thanks,
RajeshUnregistered Guest



Reply With Quote


