Error: "The underlying connection was closed: Unable to connect to the remote server."

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: TechNeck (TechNeck_at_newsgroups.nospam)
Date: 03/23/05


Date: Wed, 23 Mar 2005 10:03:34 -0600

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 to
the Web Service, which used to work fine. All of a sudden we are receiving
the following error message and can't connect:

"System.Net.WebException: The underlying connection was closed: Unable to
connect to the remote server.
   at System.Net.HttpWebRequest.CheckFinalStatus()
   at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult
asyncResult)
   at System.Net.HttpWebRequest.GetRequestStream()
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)"

The client that controls the box states that nothing changed over the
weekend, but I know how many times "nothing has changed" means "we only
applied a few updates and changed a few permissions, but nothing that would
affect you!"

Any help would be appreciated.

TechNeck



Relevant Pages

  • Re: ADFS Development Issues
    ... One thing to keep in mind is that if a website is protected by ADFS V1, ... site to be automatically authenticated by our windows application so ... like a web service proxy. ... generated on the server. ...
    (microsoft.public.windows.server.active_directory)
  • Re: ADFS Development Issues
    ... site to be automatically authenticated by our windows application so ... based on redirects and possibly uses forms-based authentication to collect ... web service proxies don't handle this type of thing ... the server based on how it needs to work. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Dynamically Change URL of web service
    ... want - this initialization only happens in the constructor. ... Microsoft MVP - Windows Client ... When I updated the URL to server A, yes, the code did not ... >>>> client apps will use the exact same web service, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Impersonated login to web service from outside domain
    ... the client is part of the domain group. ... : integrated windows auth fails. ... You can try creating an identical local user on the server (as the one you ... next call to the web service (ie. the process requiring the credentials to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Web Service Implementation Security Question
    ... Server was unable to process ... CompilerParameters parameters, Assembly assembly, Hashtable assemblies) at ... > As for the security problems regarding on using TypedDAtaset in asp.net ... Web Service Implementation Security Question ...
    (microsoft.public.inetserver.iis.security)