Thursday, June 16, 2011

The type initializer for ‘System.Net.DNS’ threw an exception.

This error has come up and may be related to a known issue with Microsoft .NET 1.1.  If there are more than 50 bound protocols across all network adapters, this and other socket-related exceptions appear.

BUG: You receive a "The operation has timed-out" error message when you access a Web service or when you use the IPAddress class

On the above page is a link to a program called enum.exe that will list the bound protocols.  If the list is more than 50 long, you can either try to reduce the number of bound protocols or install a hotfix from Microsoft.  Unfortunately, this hotfix must be requested from Microsoft Support Services; there is no public download link.
Link to enum.exe program to list installed protocols.

This can also be downloaded from our website at

No comments: