Solved

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

Posted on 2006-10-26
8
945 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;
0
Comment
Question by:selas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 28

Expert Comment

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

Author Comment

by:selas
ID: 17810746
with Administrator rights it works fine, but then i install program on user rights acount it makes error... :(
0
 
LVL 28

Expert Comment

by:2266180
ID: 17810791
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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:selas
ID: 17811910
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
0
 
LVL 28

Expert Comment

by:2266180
ID: 17811935
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.
0
 

Author Comment

by:selas
ID: 17812047
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.
0
 

Author Comment

by:selas
ID: 17812086
what this about...
0
 
LVL 28

Accepted Solution

by:
2266180 earned 500 total points
ID: 17812098
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
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month7 days, 5 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question