Click here to get back home

An attempt was made to access a socket in a way forbidden by its access permissions

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
An attempt was made to access a socket in a way forbidden by its access permissions Les Caudle 03-13-2008
Posted by Les Caudle on March 13, 2008, 1:44 pm
Please log in for more thread options
I've got code that's been working for years, now 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); // fails here

How can this not work - the user is the Admin?

This seems to only affect Win2003, not XP?

Help - my app is completely down until I can resolve this.
--
Thanks in advance, Les Caudle

Similar ThreadsPosted
WINS Access permissions May 23, 2006, 7:16 am
How to configure Domain access permissions for a user that would vary based on the computer they log into? June 21, 2006, 11:58 am
Logon Attempt Stopped - Hack ? Intruder? May 26, 2006, 5:06 pm
Controlling access through a remote access policy August 19, 2005, 7:00 am
Cisco 1300 series wireless access point/bridge Vs Linksys WAP54GPE Access Point Anyone know the basic pros & cons? November 28, 2007, 3:34 pm
Secure VPN access...? June 21, 2005, 5:13 pm
Event Log Access July 8, 2005, 1:35 pm
Allow access to only certain files. September 15, 2005, 5:13 pm
Access the service only January 4, 2006, 2:31 am
Getting Access is Denied March 2, 2006, 6:30 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap