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:11 -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
.
- Prev by Date: Re: Client crashes when calling method in server
- Next by Date: some new languages
- Previous by thread: Client crashes when calling method in server
- Next by thread: some new languages
- Index(es):
Relevant Pages
|