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



Actually, it fails on the TcpServerChannel chnl = new
TcpServerChannel(props,srv); - and only on Win2003 Server.

As the user has admin priv, I don't see how it can fail to have proper
permissions.

Anyone have a clue - I'm dead in the water until I resolve this?

Thanks, Les Caudle

On Thu, 13 Mar 2008 09:56:25 -0500, Les Caudle <DotNetWannabe@xxxxxxxxxxxxxxxx>
wrote:

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?

.



Relevant Pages

  • RE: Faulting application ntbackup.exe version 5.2.3790.70
    ... if I start the job manually it fails after a very shoort time. ... Also note the server which is running the ntbackup.exe program is ... Below is the error in the event log, also the data that fails to backup is ... > Hi Aaron, ...
    (microsoft.public.windows.server.sbs)
  • Re: dcpromo failed
    ... You can tell this is the problem if other RPC operations ... I disjoined the server from the domain. ... MVP - Directory Services ... This is the only domain controller that fails. ...
    (microsoft.public.windows.server.active_directory)
  • Re: [opensuse] Thunderbird password nuisance.
    ... time the smtp session timed out in the server and fails. ... Easily fixed by correctly configuring your smtp settings in Account ... It knows you need it because the smtp server requires it, ...
    (SuSE)
  • RE: Reccomendations for FC-attached storage appliance?
    ... In a practical sense if a fiber channel card fails on a server, ... properly load balance or fail over the disk IO. ... > same disks via the redundant server or controller. ...
    (freebsd-questions)
  • Re: DCPROMO FAILS, Numerous Event Log Errors
    ... It first fails on Global results, ... can't demote as the server never fully joined. ... > When complete search for fail, error and warning messages. ...
    (microsoft.public.win2000.active_directory)