Sunday, February 19, 2012

ERROR - "The underlying connection was closed"

We are running Reporting Services on an SBS 2003 server and have created a
WinForms application that will print reports from RS. Everything works great
from the SBS server but when I run the application from another machine on
the same domain I get the following error: "The underlying connection was
closed: Unable to connect to the remote server."
We're not using SSL or proxies.
Does anyone have any idea what might be causing this problem? Any help would
be greatly appreciated!"Robert" <Robert@.discussions.microsoft.com> wrote in message
news:61AD6244-FDD6-43F0-A5C9-277F269128E2@.microsoft.com...
> We are running Reporting Services on an SBS 2003 server and have created a
> WinForms application that will print reports from RS. Everything works
> great
> from the SBS server but when I run the application from another machine on
> the same domain I get the following error: "The underlying connection was
> closed: Unable to connect to the remote server."
> We're not using SSL or proxies.
> Does anyone have any idea what might be causing this problem? Any help
> would
> be greatly appreciated!
Is this a web service call? I've found a very simple way to reduce 99.9% of
these errors with web services is to place the initial web service call in a
try...catch block. If it fails, immediately try the same web service call
again. That usually fixes it.
HTH,
Mike Rodriguez

No comments:

Post a Comment