Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / March 2005

Tip: Looking for answers? Try searching our database.

System.Net.Sockets.SocketException : Access a Socket

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Suchin Sinthuwanon - 10 Mar 2005 08:30 GMT
Hi.
I have some proplem about Program Pinging. I develope program windows form pinging using microsoft.net framework It can to run under user administrator. But if I login to be user domain it can't using function pinging and appear error below

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

Thank anybody to help
Chee Pin Cheam - 16 Mar 2005 17:49 GMT
> Hi.
> I have some proplem about Program Pinging. I develope program windows form pinging using microsoft.net framework It can to run under user administrator. But if I login to be user domain it can't using function pinging and appear error below
[quoted text clipped - 10 lines]
>
> <Id>bWwL+rWLSk+p3pMhDZ/SNQ==</Id>

I think it has something to do with the security policy. I cannot
remember what is the setting that you need to tweak. I know it has
something to do with normal user does not have right to icmp packet.
Most of the security setting forbids the use of icmp.

Chee Pin
Daniel Roth [MSFT] - 28 Mar 2005 20:44 GMT
Hello,

Could you please tell us what OS are you running on?

Thanks.

Daniel Roth
System.Net

--------------------
| Date: Thu, 17 Mar 2005 00:49:26 +0800
| From: Chee Pin Cheam <cpcheam@hotmail.com>
[quoted text clipped - 17 lines]
| > Hi.
| > I have some proplem about Program Pinging. I develope program windows form pinging using microsoft.net framework It can to run under user administrator. But if I login to be user domain it can't using function pinging and appear
error below

| >  System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.SendTo
| >
[quoted text clipped - 14 lines]
|
| Chee Pin

Signature

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to
the terms specified at http://www.microsoft.com/info/cpyright.htm 

Note:  For the benefit of the community-at-large, all responses to this message are best directed to the
newsgroup/thread from which they originated.  

Daniel Roth [MSFT] - 28 Mar 2005 20:58 GMT
Also, does ping work from the command line when running as a normal user?  If not, than this is a configuration issue.

Daniel Roth
--------------------
| Date: Thu, 17 Mar 2005 00:49:26 +0800
| From: Chee Pin Cheam <cpcheam@hotmail.com>
[quoted text clipped - 17 lines]
| > Hi.
| > I have some proplem about Program Pinging. I develope program windows form pinging using microsoft.net framework It can to run under user administrator. But if I login to be user domain it can't using function pinging and appear
error below

| >  System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.SendTo
| >
[quoted text clipped - 14 lines]
|
| Chee Pin

Signature

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to
the terms specified at http://www.microsoft.com/info/cpyright.htm 

Note:  For the benefit of the community-at-large, all responses to this message are best directed to the
newsgroup/thread from which they originated.  


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.