Login  
Search All Forums
Dart Home | PowerTCP Mail for ActiveX | Custom Development Reply | PowerTCP Mail for ActiveX Topics | Forums   
AuthorForum: PowerTCP Mail for ActiveX
Topic: Power User vs Ordinary User in XP
dee_qat

From: Sydney, AL USA
Posts: 4
Member Since: 09/04/02
posted September 4, 2002 12:10 AM

We have an application distributed to hundreds of clients. It uses PowerTCP from Visual Basic (and was custom written for us at great expense by Dart).

If it is run by an ordinary user on XP straight out of the box, it will not make a connection and times out. If it is run by Admin or Power user, it works OK.

What settings or changes to security policies do we need to make on XP?

Public Function TestTCPConnection(sServer As String) As Boolean
  TestTCPConnection = False
  DebugLog "testing tcp [" & sServer & "]..."
  On Error GoTo OnError
  Dim Checker As Tcp
  Set Checker = New Tcp
  Checker.Connect sServer, 25
  Checker.Close
  DebugLog "tcp ok"
  TestTCPConnection = True
  Exit Function
OnError:
  DebugLog "ERROR: " + Err.Description
End Function
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 4, 2002 10:07 AM

Does this occur in all NT systems, or just XP? Thanks.
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted September 4, 2002 11:10 AM

I wasn't able to duplicate this problem. It looks like the DLL's on your machine are registered in such a way that a regular user won't have access to them. There has to be something specific to your machine that causing the trouble.
dee_qat

From: Sydney, AL USA
Posts: 4
Member Since: 09/04/02
posted September 4, 2002 6:36 PM

Will need to test with an NT machine. We are doing the following on a clean test machine:-
1) Install XP O/S out of the box, installed MS-OFFICE XP
2) Logon on as a Power User or Admin
3) Install app
4) Run app, send a document, delivers OK.
5) Logon on as a standard User on the same machine.
6) Run app, try and send document - fails to connect.

Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted September 4, 2002 6:58 PM

Let's take your app out of the scenario. Try using one of our samples and see what happens.
dee_qat

From: Sydney, AL USA
Posts: 4
Member Since: 09/04/02
posted September 6, 2002 3:43 AM

Jon Belanger was correct in his initial diagnosis. It was our user carrying out a 'special' installation that somehow made the Dart DLLs invisible to an ordinary User account. I wouldn't know know how to that if I wanted to, but they did.

Thanks for your help.
Reply | PowerTCP Mail for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX