We help IT Professionals succeed at work.

when using program with IDFTP in not administrator mode i get Socket Error # 10054

selas
selas asked
on
Medium Priority
1,360 Views
Last Modified: 2012-06-27
when using program with IDFTP in not administrator mode i get Socket Error # 10054

i'm connecting with ftp to download file...

idFTP1.connect;
idFTP1.get('temp.exe','temp', true);
idFTP1.disconnect;
Comment
Watch Question

Top Expert 2007

Commented:
works perfectly for me.
btw, 10054 is connection reset by peer. are you sure you are configuring your idftp correctly (maybe passive is necessary?)

Author

Commented:
with Administrator rights it works fine, but then i install program on user rights acount it makes error... :(
Top Expert 2007

Commented:
well, on my system, I made a simple program only having an idftp component on it, configured as passive (required by my ftp server), those 3 lines you posted in the form oncreate (different file name though) and from my user with admin rights I right clicked on the exe and selected "run as" and inputed my test account (no admin rights) and it worked just fine.

can you do this as well? maybe there is an issue with your application. make a small one, test app and see if the issue reproduces. there is no reason why a simple program with ftp client will not run on an account with no admin rights.

Author

Commented:
i done it... on my test pc it works... but with other pc on user acount rights it not working... maybe i need something to install on client compiuter about indy...
strange things is happening
Top Expert 2007

Commented:
never heard of such necessity. try looking in the event log on the computer where the application is failing. see if you have any entries in one of the 3 logs regarding your application. it might be some restrictions in effect on that machine.

Author

Commented:
Event Type:      Error
Event Source:      Userenv
Event Category:      None
Event ID:      1054
Date:            2006.10.26
Time:            11:03:12 AM
User:            NT AUTHORITY\SYSTEM
Computer:      PB35
Description:
Windows cannot obtain the domain controller name for your computer network. (A socket operation was attempted to an unreachable host. ). Group Policy processing aborted.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Author

Commented:
what this about...
Top Expert 2007
Commented:
well, that is certainly not related to the indy component, but to the pc configurations. more exactly, it seems that the pc is in a domain and has some issues. I am not an expert on this side, but I did find the following: http://www.experts-exchange.com/Networking/Q_21304901.html and http://www.tek-tips.com/viewthread.cfm?qid=920445 and http://blog.tmcnet.com/blog/tom-keating/technology-and-science/playing-chicken-installing-microsoft-windows-xp-sp2.asp

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.