desperate call for help: "The underlying connection was closed: Unable to connect to the remote ser

Discussion in 'ASP .Net Web Services' started by David, Nov 23, 2004.

  1. David

    David Guest

    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
    (http://support.microsoft.com/default.aspx?scid=kb;en-us;819450) 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, Nov 23, 2004
    #1
    1. Advertising

  2. David

    Dan Rogers Guest

    Hi David,

    Have you tried setting the proxy-side keep alives to "false"? This may
    remedy the situation.

    Dan Rogers
    Microsoft Corporation
    --------------------
    >From: "David" <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >Subject: desperate call for help: "The underlying connection was closed:

    Unable to connect to the remote server.
    >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$>
    >Date: Tue, 23 Nov 2004 07:23:58 GMT
    >NNTP-Posting-Host: 67.52.118.62
    >X-Complaints-To:
    >X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004

    23:23:58 PST)
    >NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
    >Organization: RoadRunner - West
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwi
    x.com!newsfeed.cwix.com!news.umass.edu!arclight.uoregon.edu!hammer.uoregon.e
    du!logbridge.uoregon.edu!tethys.csu.net!newshub.sdsu.edu!elnk-nf2-pas!elnk-p
    as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.
    kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail
    >Xref: cpmsftngxa10.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webservices:26763
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >
    >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
    >(http://support.microsoft.com/default.aspx?scid=kb;en-us;819450) 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.
    >
    >
    >
     
    Dan Rogers, Nov 23, 2004
    #2
    1. Advertising

  3. David

    David Guest

    Is that a IIS setting?

    Do you mean HTTP Keep-Alives enabled? I tried that and it still does not
    work.

    "Dan Rogers" <> wrote in message
    news:...
    > Hi David,
    >
    > Have you tried setting the proxy-side keep alives to "false"? This may
    > remedy the situation.
    >
    > Dan Rogers
    > Microsoft Corporation
    > --------------------
    >>From: "David" <>
    >>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >>Subject: desperate call for help: "The underlying connection was closed:

    > Unable to connect to the remote server.
    >>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$>
    >>Date: Tue, 23 Nov 2004 07:23:58 GMT
    >>NNTP-Posting-Host: 67.52.118.62
    >>X-Complaints-To:
    >>X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004

    > 23:23:58 PST)
    >>NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
    >>Organization: RoadRunner - West
    >>Path:

    > cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwi
    > x.com!newsfeed.cwix.com!news.umass.edu!arclight.uoregon.edu!hammer.uoregon.e
    > du!logbridge.uoregon.edu!tethys.csu.net!newshub.sdsu.edu!elnk-nf2-pas!elnk-p
    > as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.
    > kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail
    >>Xref: cpmsftngxa10.phx.gbl

    > microsoft.public.dotnet.framework.aspnet.webservices:26763
    >>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >>
    >>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
    >>(http://support.microsoft.com/default.aspx?scid=kb;en-us;819450) 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, Nov 27, 2004
    #3
  4. David

    Dan Rogers Guest

    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
    --------------------
    >From: "David" <>
    >Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >References: <iABod.101790$>

    <>
    >Subject: Re: desperate call for help: "The underlying connection was

    closed: Unable to connect to the remote server.
    >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$>
    >Date: Sat, 27 Nov 2004 02:50:39 GMT
    >NNTP-Posting-Host: 67.52.118.62
    >X-Complaints-To:
    >X-Trace: twister.socal.rr.com 1101523839 67.52.118.62 (Fri, 26 Nov 2004

    18:50:39 PST)
    >NNTP-Posting-Date: Fri, 26 Nov 2004 18:50:39 PST
    >Organization: RoadRunner - West
    >Path:

    cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!new
    sfeed1.ip.tiscali.net!news.glorb.com!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-
    nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.kc.
    rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail
    >Xref: cpmsftngxa10.phx.gbl

    microsoft.public.dotnet.framework.aspnet.webservices:26825
    >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >
    >Is that a IIS setting?
    >
    >Do you mean HTTP Keep-Alives enabled? I tried that and it still does not
    >work.
    >
    >"Dan Rogers" <> wrote in message
    >news:...
    >> Hi David,
    >>
    >> Have you tried setting the proxy-side keep alives to "false"? This may
    >> remedy the situation.
    >>
    >> Dan Rogers
    >> Microsoft Corporation
    >> --------------------
    >>>From: "David" <>
    >>>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
    >>>Subject: desperate call for help: "The underlying connection was closed:

    >> Unable to connect to the remote server.
    >>>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$>
    >>>Date: Tue, 23 Nov 2004 07:23:58 GMT
    >>>NNTP-Posting-Host: 67.52.118.62
    >>>X-Complaints-To:
    >>>X-Trace: twister.socal.rr.com 1101194638 67.52.118.62 (Mon, 22 Nov 2004

    >> 23:23:58 PST)
    >>>NNTP-Posting-Date: Mon, 22 Nov 2004 23:23:58 PST
    >>>Organization: RoadRunner - West
    >>>Path:

    >>

    cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!news-out.cwi
    >>

    x.com!newsfeed.cwix.com!news.umass.edu!arclight.uoregon.edu!hammer.uoregon.e
    >>

    du!logbridge.uoregon.edu!tethys.csu.net!newshub.sdsu.edu!elnk-nf2-pas!elnk-p
    >>

    as-nf1!newsfeed.earthlink.net!cyclone.socal.rr.com!cyclone2.kc.rr.com!news2.
    >> kc.rr.com!twister.socal.rr.com.POSTED!53ab2750!not-for-mail
    >>>Xref: cpmsftngxa10.phx.gbl

    >> microsoft.public.dotnet.framework.aspnet.webservices:26763
    >>>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
    >>>
    >>>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
    >>>(http://support.microsoft.com/default.aspx?scid=kb;en-us;819450) 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.
    >>>
    >>>
    >>>

    >>

    >
    >
    >
     
    Dan Rogers, Nov 29, 2004
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Marisha
    Replies:
    0
    Views:
    1,231
    Marisha
    Mar 27, 2006
  2. Monty
    Replies:
    3
    Views:
    4,128
    Monty
    Sep 29, 2006
  3. Ilya
    Replies:
    0
    Views:
    143
  4. Tom McDonald
    Replies:
    1
    Views:
    181
    Tom McDonald
    Dec 20, 2003
  5. David Jeff
    Replies:
    1
    Views:
    286
    Jan Tielens
    Jan 2, 2004
Loading...

Share This Page