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
> 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.