Solved

Insufficient buffer space when creating XML Web Service

Posted on 2004-10-07
2
351 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
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VB.NET Server side Javascript 8 51
Total in textboxes 9 35
Find value in LINQ result ? 4 17
Paging GridView 7 32
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now