471,337 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

The underlying connection was closed: The server committed an HTTP

I working on a batch process that goes to different url's and grabs their
source code.

I have used both the WebRequest and WebClient form of doing this and both
work on consistently work on certain servers and both consistently bomb out
on certain servers. I have read that this is because the WebClient uses the
WebRequest object to do it's work.

At any rate, I at first that this exception was thrown because the page that
I was failing to pull from did not have
<html><head></head><body></body></html> tags in it. It is just a form with
tables.

Take a look for yourself
http://feeds.citysearch.com/guide/to...ontext=generic

However, I tested this hypothesis by taking that page and putting it on one
of our own servers and then trying pull from it. I was able to pull from it
successfully.

My hunch is that there is something wrong with the server that I am trying
to pull from and I was wondering what that may be. Does anyone know how the
server would contribute to this error? What do I need to tell the company
that owns the server?

Thanks in advance!!
Jul 21 '05 #1
0 904

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

26 posts views Thread by Rajeev Tipnis | last post: by
3 posts views Thread by MattM | last post: by
2 posts views Thread by =?Utf-8?B?RnJpZWRoZWxtRWljaGlu?= | last post: by
4 posts views Thread by =?Utf-8?B?QXJuYXVkIFZpc2N1c2k=?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.