Socket Initialization Fix

dotnet framework


  • 1. Sorting issue !
    Hi, We are facing a typical problem with sorting a datagrid in Windows application ( c# ) The scenario We have a datagrid which is binded to a dataview which conatins two columns say Name and Age. We tried with allowsorting property, to make the sorting enable and it is working fine. But the problem is As soon as a user enters some value in new row, and leaves the row, the row display position will change, based on the sort order. This is very much Odd looking. Actually what I expect is, the new row should stay in the last poistion, until the user does some action (like clicking the column header) to sort it again. For acheiving this, we tried with setting the allowsorting property back to false as soon as the sorting is finished once then the display will also get unsorted, which is not expected. It will be of great help if someone can sort out this problem. Thanks in advance. - Gary -
  • 2. gacutil -u
    This component had been installed as a windows service using the Installer class.. it was later uninstalled succesfully... Any ideas....? C:\mncprojects\vsprojects\VS2003\MNCBDOServiceLibrary\bin>gacutil -u MNCBDOServiceLibrary Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573 Copyright (C) Microsoft Corporation 1998-2002. All rights reserved. Assembly: MNCBDOServiceLibrary, Version=, Culture=neutral, PublicKeyToken=48d69f43b9e7bec3, Custom=null Unable to uninstall: assembly is required by one or more applications Pending references: SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows Installer> Number of items uninstalled = 0 Number of failures = 0
  • 3. how to print multiple word documents via
    I'd like to be able to print multiple documents are once using What is the best way to do this with out having to print each document one at a time via a loop [calling Word.PrintOut(fileName:=(OutputFileLocation & fileName)]. Can't I send them all to a spool at once or something? Ideally, I would like the code such that multiple users can print via my application at the same time. Any help would be appreciated. Thanks 8957078 PS Someone suggested merging the docs into one programatically but i'm not sure if that would solve the problem i'm having with the printing getting locked up when users try to print at the same time. If this is a good idea, does anyone have any examples?
  • 4. Cannot find KeycodeV2.dll, or invalid keycode.
    0. Added regwiz.msn 1. Added what I think is the license key to MergeModuleProperties.LicenseKey 2. Compiled the *.msi 3. Deployed 4. Installed. As far as Merge Modules, I have read so many 'solutions' that I put them all in, including: Crystal_Database_Access2003.msm ( it uses Sql server ) Crystal_Database_Access2003_enu.msm Crystal_Managed2003.msm dotNETFXRedist_x86_enu.msm Managed.msm regwiz.msm Primary output from marlookup (Active) Content Files from marlookup (Active) "Ali Mazaheri, MCAD" < XXXX@XXXXX.COM > wrote in message news:u$ XXXX@XXXXX.COM ... > Have you added the key to the property? > > "john bailo" < XXXX@XXXXX.COM > wrote in message > news: XXXX@XXXXX.COM ... > > Running a webForm with a crystal report on a webserver, > > > > Cannot find KeycodeV2.dll, or invalid keycode. > > > > Appears. > > > > I have added the regwiz.msm to my Setup Project and > > added the License Key and re-installed. > > > > > > > >

RE: Socket Initialization Fix

Postby UGF0cmljaw » Sun, 13 Jun 2004 08:19:01 GMT

I'm also experiencing this problem.  Could I get some support on this?

As an aside, why does the KB at  http://www.**--****.com/ 

RE: Socket Initialization Fix

Postby UGF0cmljaw » Sun, 13 Jun 2004 08:21:01 GMT

Could I also get this file?  As an aside, why does the kb require that we get in contact w/ tech support rather than downloading the file?

I'm also on the same kb article problem:   http://www.**--****.com/ 

Similar Threads:

1.Help requested for Multicast Sockets Server Network Initialization

2.Socket initialization exception

When using .NET remoting I get the following error
"System.Net.Sockets.Socket" threw an excpetion. An 
operation could not be performed because the system lacked 
sufficient buffer space or because a queue was full ....
This is referred to in KB 815209 with regard to web 
services but it is a general problem.
I can reproduce it with a simple call to 
System.Net.Dns.Resolve for the affected machine.
Is this a bug in the .NET framework?
Will it be fixed?
Is there a way to tell how many protocol-binding details 
there are on a machine?
I reproduced the problem by installing a netgear wireless 
card, and could not fix it by uninstalling it!
Has anyone else seen this problem?

3.General Sockets Questions (with typo's fixed)

I'm new to the world of sockets, and this question is not VB specific:

If multiple clients access the same server on the same port, and the server
is set up to do some async communication, does the server's response GO back
all the clients on that port, or just to the one who sent the request?

In other words:

Client One - Request Data From Server (It takes a few seconds for the server
to get the answer)
Client Two - Requests Data From Server (this also takes a couple seconds)

The server, on two asyncy threads is processing both requests.
It gets the results for one of the clients and sends the RESULT back up the
socket it is holding for that client.

(here's the question:)

Do both clients 'see' this result and have to determine if it belongs to
them, or does a socket object somehow encapsulate the communication, so that
only the calling client will get the answer?

Hope this question makes sense and someone knows the answer!


4.Socket.BeginSendTo and Socket.BeginSendFrom on a single Socket instance from multiple threads

Is it safe to call socket.BeginSendTo and socket.BeginSendFrom on a 
single instance of Socket from two different threads running simultaneously?

This is required because I need to listen on a certain URI [IP:Port] and 
I need to send outgoing messages from that local socket [IP:Port]

something like this:
public class Communicator {
   Socket skt = new Socket(AddressFamily.InterNetwork,
                SocketType.Dgram,  ProtocolType.Udp );
   private Thread listenerThread;
   private Thread sendThread;
   public Communicator() { }
   public void Start() {
     listenerThread = new Thread(new ThreadStart(Listen));
     sendThread = new Thread(new ThreadStart(Send));
   private void Listen() {
     while(!bStop) {
        //wait for AsyncCallback to be called
        //using ManualResetEvent for this
   private void Send() {
     while(!bStop) {
        //send all queued messages
        //wait for AsyncCallback to be called - that would send an event
        //using ManualResetEvent for this
   public void Stop() {
     bStop = true

Return to dotnet framework


Who is online

Users browsing this forum: No registered users and 9 guest