| Dart Home | PowerTCP Winsock for ActiveX | Custom Development | Reply | PowerTCP Winsock for ActiveX Topics | Forums |
| Author | Forum: PowerTCP Winsock for ActiveX Topic: Permission Denied |
| chipicau pires_pedro@hotmail.com From: Lisbon, Portugal Posts: 1 Member Since: 09/11/03 |
posted September 11, 2003 2:53 PM Hello There. I'm using the Dart.Ping component and when i use it on an ASP i receive this error : Dart.Tcp.1 (0x800A271D) Permission Denied. Indicates that user does not have appropriate permissions to use this functionality. The code is the folowing : <% set ping1=createobject("dart.ping.1") Ping1.Timeout = 3000 Delay = 0 For Count = 1 To 3 Ping1.Ping "localhost" Delay = Delay + Ping1.Delay Next Delay = Delay / Count MsgBox "Server is reachable, average delay " & Delay & " ms" %> It works fine if i use the same code in VB6. PS : I hope i'm not on the 90% problem that have to update my DLL...... |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted September 11, 2003 3:12 PM The problem is your IUSR server account does not have admin rights. Ping requires raw socket access, which MS requires admin rights for. Check the followingMS knowledge base article: http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q195445& The KB article describes a workaround if you are using NT4. If you are using anything else, I'm afraid you'll have to give admin rights to the IUSR account to get it to work. |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted September 11, 2003 3:22 PM Or, if you use ASP.NET, you could try our Sockets for .NET product, which includes a Ping control that can be configured to not require raw socket access. |
| paco From: atlanta, GA USA Posts: 1 Member Since: 09/12/03 |
posted September 12, 2003 3:28 PM I had a similar problem with the DartWeb.Http component which I was using in a ActiveX dll, called from an ASP page. Our solution was to put the ActiveX dll in a COM+ application, running with admin privledges. Giving IUSR_ admin rights has a couple drawbacks. |
| chipicau69 pedro.filipe.pires@cgd.pt From: Lisbon, Portugal Posts: 4 Member Since: 09/15/03 |
posted September 15, 2003 3:07 AM I tried to give IUSR admin rights and it worked. What drawbacks are we talking about ? I don't want Security Department acusing me that someone hacked the Network because of me...... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted September 15, 2003 8:55 AM It means that the process that controls the execution of ASP code on the server has the same rights as the administrator. In other words it can do anything it wants. I'm not a hacker myself but I can see that those circumstances would be quite appealing to someone who was. |
| Reply | PowerTCP Winsock for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|