Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: Windows Terminal Server
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 9, 2002 1:27 PM

I'm using a application that uses the DARTFTP.dll. This App works fine on all systems except on a Windows 2K Terminal Server. I am not the author of the App. He is in Germany and has no idea why this is happening. here is what a log file states regarding this error

Error Number: 372
Description: Failed to load control 'Ftp' from DartFtp.dll. Your version of DartFtp.dll may be outdated. Make sure you are using the version of the control that was provided with your application.
Modul: modMain!Main
Date: 7/9/2002

If I run the app as a different user and enter administrative credentials it works, and then, if I remove the "run as another user" it will work for the user now unless I delete the users profile.

My question is what is this DLL trying to access on the 1st creation that needs administrative rights?

Also, this problem does not exist on my desktop PC's
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 10, 2002 2:01 PM

You might be using two different DLL's for each user. Reinstall the new DLL as a user other than administrator and see in the application works as that user.
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 10, 2002 10:37 PM

No luck. I've service packed and applied all updates and now only an administrator can run the app. It appears to be a problem exclusive to Terminal Server environment. It appears that the user account can't create a licensed version of the object.
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 11, 2002 1:36 PM

Does the user you are installing it as have access to the registry? The FTP control needs access to read to the registry. The problem you are having has to be with permissions. The user that you are running the program as is limited in someway. Whether or not this is because of the terminal service env I'm not sure. We would have to bring that up here to test.
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 11, 2002 2:26 PM

My thoughts exactly. I have gone through the registry to try and fine thekeys that are tryiong to be accessed but have had no success.
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 11, 2002 3:03 PM

We need to know exactly what you are doing so that we can reproduce the problem here. Step by step as well as you can. We aren't really sure how you are running the application within terminal server. Also, is this application that uses the component written in VB or something else? Thanks.
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 11, 2002 4:57 PM

I'm assuming it's in VB but I'm not sure. As I said the APP was written by a guy in Germany. This is a Win32 client for the Hylafax Linux fax server. Hylafax uses FTP protocol to communicate.

Authors home page:
http://www.cypheus.de/frm_home_e.htm

All I'm doing is installing the application on the terminal server then trying to run the app as a user. For security reason TS must be a very locked down environment, but for testing this app I have taken the my test user out of all policy groups and even made it a power user but nothing works.

I even made a test VB app using the DLL installed with the application and got the same result.

Environment: Windows 2000 server in Terminal Services Application Server mode

Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 11, 2002 5:02 PM

We have to know what language it was written in. We can't diagnose your problem without knowing exactly how the objects in the DLL were instantiated. There are several variations across environments. Is there anyway you can get the developer in Germany to get in contact with us?
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 11, 2002 5:13 PM

I sent him an email so we will see if he responds. My other options are to build my own client. Which I would want to use the DartFTP.dll.
ClifRa
Williamsc@bbrailinc.com

From: Jacksonville, FL USA
Posts: 6
Member Since: 07/09/02
posted July 12, 2002 9:45 AM

Here is my correspondence with the author:

===============================
OK, I cleaned the registry of all references to the Dart DLLs. Uninstalled Cypheus, deleted the Dart DLLs.
 
User has full control to \winnt & \winnt\system32. (This servers system drive is M:)
 
Reinstalled Cypheus, same results.
 
I created 3 test exe's in VB using the control as follows:
 
Project1.exe
 
Private ftp as Dartftp.ftp
 
Private Sub Form1_load
  set ftp = new dartftp.ftp
end sub
 
Project2.exe
 
Private ftp as ftp
 
Private Sub Form1_load
  set ftp = new ftp
end sub
 
Project3.exe
 
Private form1_load
  set ftp = createobject("Dart.Ftp")
end sub
 
Running these under WTS (I get the trial message which is understandable) and the object loads fine.
 
-
 ----Original Message-----
From: Bodo Noering [mailto:bn@urania.com]
Sent: Friday, July 12, 2002 5:04 AM
To: Cliff Williams
Subject: RE: Having a problem with Terminal Server


Dear Cliff,
 
Cypheus is written in VB6 SP5.
The error occurs, if
 
- there are more than one DartFTP.dll version on the server
- user doesn't have access to Windows\System32 folder
 
Cypheus reports an incorrect user/password because it can't connect to HylaFAX.
 
I got reports from other users, that Cypheus is running fine on WTS.
 


Best Regards
Bodo

--
___________________________________________
Bodo Noering Consulting
Zur Alten Faehre 23 · D-45219 Essen
Phone +49-2054-971790 · Fax +49-2054-971791
bn@urania.com · http://www.urania.com

Highend Fax: HylaFAX® (www.hylafax.org)
and Cypheus (www.cypheus.de)

==================

Additional Info:

Ran

CACLS . /T /E /C /G Everyone:F

from the root of the system drive. This did not solve the problem.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX