Sign in to follow this  
Followers 0
undu

[support] Connection error

4 posts in this topic

Every time i try to connect to a hub, check for updates, or whenever the program tries to connect to a remote machine i get the following error:

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

I'm using ApexDC++ v0.2.2

Windows XP SP2, with windows onecare firewall

The firewall doesn't even ask me to block any kind of traffic.

Can anyone help me with this?

Share this post


Link to post
Share on other sites

Q[1]I created a class that works fine on a windows application. But, on a web application it times out before 1000 milliseconds for each of the 4 pings.

OR

I receive "An attempt was made to access a socket in a way forbidden by its access permissions."

A[1]

BKPing inherits directly from the classes found in the System.Net.Sockets namespace and utilizes Raw Sockets for building ICMP packets. Only administrators have access to Raw Sockets on Windows NT and above Operating Systems. For further information please view the following Microsoft Knowledge Base article:

PRB: RAW Socket Access Denied to Non-Admin Windows NT 4.0 and Windows 2000 Users

The two simple steps below will enable Raw Socket access for your ASP.NET application:

1. Add the ASPNET account to the "Act as part of the operating system" policy

o

Select <Administrative Tools> + <Local Security Policy>

o

Select <User Rights Assignment> + <Act as part of the operating system>

o

Add the "ASPNET" user.

2. Allow your ASP.NET application to impersonate an administrative user

o

Open your ASP.NET application's web.config file

o

Immediately below the opening <system.web> tag add the identity tag

<identity impersonate="true" userName="ComputerName\AdminUser" password="AdminPassword" />

where:

AdminUser is an administrative user on ComputerName

AdminPassword is the password associated with AdminUser

Taken from: http://users.tpg.com.au/hbk02542/products/bkping/faq.htm

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0