ms sec fix caused SocketException: An attempt was made to access a socket in a way forbidden by its access permissions



I've got code that's been working for years.

This is running on Win2003 Server whiled logged in as the admin.

When the MS sec fixes were installed last night, this code now fails with:

System.Net.Sockets.SocketException: An attempt was made to access a socket in a
way forbidden by its access permissions

IDictionary props = new Hashtable();
props["name"] = "tcp";
props["port"] = 1234;
props["rejectRemoteRequests"] = "true";
props["bindTo"]= "127.0.0.1";

BinaryServerFormatterSinkProvider srv = new BinaryServerFormatterSinkProvider();

TcpServerChannel chnl = new TcpServerChannel(props,srv);

ChannelServices.RegisterChannel(chnl, false); // fails at this point


How can I resolve this?
--
Thanks in advance, Les Caudle
.



Relevant Pages