An unhandled exception of type 'System.Net.Sockets.SocketException' occurred in system.dll

  • Thread starter Thread starter RJDev
  • Start date Start date
R

RJDev

Hi everybody,
I Tried to get the ByteFX MySQL.Net provider to work but get the following
on my machine. I also tested it on an Windows 2000 server with Farmework 1.1
installed and the error was not thrown.

Error: (The dutch words come with a dutch machine.)
An unhandled exception of type 'System.Net.Sockets.SocketException' occurred
in system.dll
Additional information: Een bewerking op een socket kan niet worden
uitgevoerd omdat het systeem onvoldoende bufferruimte heeft of omdat een
wachtrij vol is
An unhandled exception of type 'System.TypeInitializationException' occurred
in system.dll
Additional information: De initialisatiefunctie voor type
System.Net.Sockets.Socket heeft een uitzondering veroorzaakt.
An unhandled exception of type 'System.TypeInitializationException' occurred
in bytefx.data.dll
Additional information: De initialisatiefunctie voor type System.Net.Dns
heeft een uitzondering veroorzaakt.

Can anyone help me to solve this. On my server it works but i cannot test it
on my machine. In both cases i use the same MySQL server to connect to.
My Machine Configuration is the following:

Windows XP professional Dutch SP2
MS.Net Framework 1.0 installed
MS.Net Framework 1.1 installed
MS.Net Framework 1.1 Dutch pack installed
MS.Net Framework SDK 1.1 installed
VS.Net 2002 installed
VS.Net 2003 installed

Please help me i won't to go on.
Regards
RJ
 
Found the solution for the problem att MSDN:

http://support.microsoft.com/?id=826757

This problem occurs because the System.Net.Socket constructor does not
succeed if your computer has more than 50 network bound protocols. This
problem occurs if you have any combination of network adapters and protocols
that causes your computer to have more than 50 network bound protocols. For
example, if the computer has 11 network adapters, and if five protocols are
bound to each adapter, the System.Net.Socket constructor will not succeed.

I had installed VMWare and some VPN adapters. Then the problem is there very
fast.
 
Back
Top