Solved

Insufficient buffer space when creating XML Web Service

Posted on 2004-10-07
2
370 Views
Last Modified: 2008-01-09
Okay, I've never asked a question on this site before so please bear with me if I don't offer enough information!

I've created an asmx file using VB.NET.  Apparently, in order to use it, I need to create a proxy class using WSDL, so I attempted to do it by entering the following at the command prompt:

    C:\>wsdl /l:vb http://localhost/Service1.asmx?WSDL

However, when I try to do that, it gives me the following error!


Microsoft (R) Web Services Description Language Utility
[Microsoft (R) .NET Framework, Version 1.1.4322.573]
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.


Unhandled Exception: System.IO.IOException: Unable to create a transport connect
ion. ---> System.TypeInitializationException: The type initializer for "System.N
et.Sockets.Socket" threw an exception. ---> System.Net.Sockets.SocketException:
An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full
   at System.Net.Sockets.Socket.InitializeSockets()
   at System.Net.Sockets.Socket..cctor()
   --- End of inner exception stack trace ---
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)
   --- End of inner exception stack trace ---
   at System.Net.Connection.StartConnectionCallback(Object state, Boolean wasSignalled)
Error: There was an error processing 'http://localhost/Service1.asmx?WSDL'.
  - There was an error downloading 'http://localhost/Service1.asmx?WSDL'.
  - The underlying connection was closed: Unable to connect to the remote server.

If you would like more help, please type "wsdl /?".


It's saying that I have insufficient buffer space?  How can that be resolved?

I'm using Win 2000 Pro for this, and I even used a different computer in case the other one was just screwed up.  That didn't work.  I'd appreciate it if anyone can help me with this program!  I have become 3 points more insane as a result of this.

Thanks in advance!
0
Comment
Question by:psykhaotic
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:psykhaotic
ID: 12251295
Here is the error message that I get when adding a web reference using VB.NET:


There was an error downloading 'http://localhost/LeonardLab6/WebService1/Service1.asmx'.

The underlying connection was closed: Unable to connect to the remote server.
0
 
LVL 3

Accepted Solution

by:
eekj earned 125 total points
ID: 12257425
Web Matrix Studio does this for you, its really a wonderful tool and its free:
http://www.asp.net/Default.aspx?tabindex=0&tabid=1
Tools > WebService Proxy Generator

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question