Vista and HttpWebRequest

B

Brent

I've written a small .NET 1.1 application that submits a SOAP web
service request using the HttpWebRequest classes. It works fine in
Windows XP, but for some reason it does not work in Windows Vista. The
error that comes back is as follows:

"The underlying connection was closed: An unexpected error occurred on
a receive."

The web service address is here:

https://cdr.ffiec.gov/pws/retrievalservice.asmx

I have spent the better part of the day researching this error. I have
added the following to my HttpWebRequest object in hopes of solving
the issue

1) KeepAlive = false;
2) ServicePoint.Expect100Continue = false;
3) Timeout = 100000;
....and, in addition, I added a routine that would trust all
certificates.

Nothing works.

However, the program works in Windows Vista with other SSL sites and
non-SSL sites.

Also -- strangely enough -- the program works with the original SSL
site if I use a traffic trace program called Fiddler2, and turn on an
option called "Decrypt HTTPS Traffic." This option places a sort of
proxy, or certificate (or something) between my program and the net,
which may or may not be important.

Is there any issue in Windows Vista -- perhaps in the firewall -- that
might block a receive of certain traffic because, for instance, the
send doesn't match the receive, somehow? How do I go about fixing this
issue, if any?

I would really appreciate any help, as I am tearing my hair out here!

Thanks.

--Brent
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top