ms sec fix caused SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
- From: Les Caudle <DotNetWannabe@xxxxxxxxxxxxxxxx>
- Date: Thu, 13 Mar 2008 09:56:25 -0500
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
.
- Follow-Ups:
- Prev by Date: Re: C# app with COM Interface for array of COM structs
- Next by Date: How to add a COM user control to a form
- Previous by thread: Importing forms from vs2005 > vs2008 manually. How do i make vs2008 recognise them as forms?
- Next by thread: Re: ms sec fix caused SocketException: An attempt was made to access a socket in a way forbidden by its access permissions
- Index(es):
Relevant Pages
|