RE: System.Net.Sockets.SocketException when using the HttpWebRequest.G

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Morgan E. Dunn (MorganEDunn_at_discussions.microsoft.com)
Date: 08/13/04


Date: Fri, 13 Aug 2004 05:27:01 -0700

Hi Norb,

This may solve your problem. I had a similar error message but got it when
trying to work with a web service.

First check article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;815209 and use the
enum.exe and info to check and/or change your protocol bindings.

If changing your network protocols doesn't work (didn't help me) then get
the hotfix from:
http://support.microsoft.com/default.aspx?scid=kb;en-us;826757

You need to call MS and refer to this article. They may not charge you
anything and will send you the hotfix in a password protected e-mail. The
reason it is not publically available is b/c it is still being regression
tested. I was told it will be a part of the .Net 1.1 service pack which I was
also told should be available this month.

Hope this helps,
Morgan

"Norb" wrote:

> Hello i keep gettign this error when i use this code
>
> Error:
> An unhandled exception of type 'System.Net.Sockets.SocketException' occurred
> in system.dll
>
> Additional information: An operation on a socket could not be performed
> because the system lacked sufficient buffer space or because a queue was full
>
> Code:
>
> Dim HTTP_request As HttpWebRequest
> Dim HTTP_response As HttpWebResponse
>
> HTTP_request = HttpWebRequest.Create("http://www.google.com/images/logo.gif")
>
> HTTP_response = HTTP_request.GetResponse
>
> the erorr happens every time on the "HTTP_response =
> HTTP_request.GetResponse" line
>
> pls help



Relevant Pages

  • Connecting to a web service thru a proxy server
    ... I have an application which calls a method of a web service ... Dim nwCred as NetworkCredential ... Dim pwd As String ... Error Message: The request failed with HTTP status 407: ...
    (microsoft.public.dotnet.security)
  • Connecting to a web service thru a proxy server
    ... I have an application which calls a method of a web service ... Dim nwCred as NetworkCredential ... Dim pwd As String ... Error Message: The request failed with HTTP status 407: ...
    (microsoft.public.inetserver.iis.security)
  • Connecting to a web service thru a proxy server
    ... I have an application which calls a method of a web service ... Dim nwCred as NetworkCredential ... Dim pwd As String ... Error Message: The request failed with HTTP status 407: ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: error messages practically worthless
    ... the .open statement) it opens fine. ... Access itself makes the query statement. ... Dim cnnFLDCW, cnnCurPrj As ADODB.Connection ... > ways to get this error message, such as typographical errors, incorrect ...
    (microsoft.public.access.externaldata)
  • Re: Web Service COM wrapper and *.dll.config
    ... "Al Reid" schreef in bericht ... automatically used when I create the reference to the web service. ... Dim oValue As Object = Nothing ... Dim bDllConfigLoaded As Boolean = False ...
    (microsoft.public.dotnet.languages.vb)