Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Insufficient buffer space when creating XML Web Service

Posted on 2004-10-07
2
Medium Priority
?
400 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 500 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

Independent Software Vendors: 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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

609 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