>>>There was a bad object being used. This had to be HttpWebResponse instead of WebResponse. I also added the close of the objects.
>>
>>
>>(1) The close statements are not where they should be.
>
>From various locations, this is where the example and documentation stated to place them.
I think that the examples are a bit sloppy
If something fails in the Try branch - it is possible that the object(s) won't exist
If you try Close() on a null reference - you'll get an exception
>
>>(2) Don't you have to close loStream ?
>
>In those places, this does not seem to be needed.
>
>>Why not 3 nested 'using' ?
>
>That could work also.
Gregory