And what about the value ? Does it point where the file is ? -- [EMAIL PROTECTED] http://www.overbyte.be
----- Original Message ----- From: "brian" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Friday, August 12, 2005 7:47 PM Subject: Re: [twsocket] FTP as system service: Cannot convert port 'ftp-data' >I found the folder in the registry, under > > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters > DataBasePath: %SystemRoot%\System32\drivers\etc > > ----- Original Message ----- > From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> > To: "ICS support mailing" <twsocket@elists.org> > Sent: Friday, August 12, 2005 19:29 > Subject: Re: [twsocket] FTP as system service: Cannot convert port > 'ftp-data' > > >> Hello Brian, >> >> The folder where the file is in a registry key. It is mentioned once a >> while in this group. Eventually try the searchable archive. >> >> --- >> Rgds, Wilfried >> http://www.mestdagh.biz >> >> Friday, August 12, 2005, 19:04, brian wrote: >> >>> You are right. I tried to run the ftp server demo as a normal app and it >>> failed to resolve "ftp" port. Something happened in the last few days >>> since >>> it was working earlier. I am quite sure I haven't been infected by a >>> virus >>> though, I keep a good security profile on my system. I don't have >>> norton, >>> don't like it either. As for an antivirus I use Kaspersky. >> >>> How could I debug this problem to find where the error lies in the >>> system >>> ? >>> Maybe some registry setting ? >> >>> Thanks >> >>> ----- Original Message ----- >>> From: "Francois PIETTE" <[EMAIL PROTECTED]> >>> To: "ICS support mailing" <twsocket@elists.org> >>> Sent: Friday, August 12, 2005 18:22 >>> Subject: Re: [twsocket] FTP as system service: Cannot convert port >>> 'ftp-data' >> >> >>>> Sometimes the files is OK but not at the right place. The virus change >>>> the >>>> location of the file specified in the registry, so the system doesn't >>>> find >>>> it. >>>> But to be sure, just run the program (or ICS demo) as a normal program >>>> and >>>> see if you have the error also. >>>> If you have Norton Security, disable it, at least for testing. IMO it's >>>> a >>>> bad product. >>>> Disable any firewall or security system you may have (disconnect from >>>> the >>>> internet to be safe). >>>> -- >>>> [EMAIL PROTECTED] >>>> http://www.overbyte.be >>>> >>>> ----- Original Message ----- >>>> From: "brian" <[EMAIL PROTECTED]> >>>> To: "ICS support mailing" <twsocket@elists.org> >>>> Sent: Friday, August 12, 2005 5:42 PM >>>> Subject: Re: [twsocket] FTP as system service: Cannot convert port >>>> 'ftp-data' >>>> >>>> >>>>>I checked the file, it seems to be ok, and there's no viruses in my >>>>>system >>>>> either. Running admin account >>>>> Where else can I check for what's wrong ? >>>>> >>>>> Thanks. >>>>> >>>>> # Copyright (c) 1993-1999 Microsoft Corp. >>>>> # >>>>> # This file contains port numbers for well-known services defined by >>>>> IANA >>>>> # >>>>> # Format: >>>>> # >>>>> # <service name> <port number>/<protocol> [aliases...] >>>>> [#<comment>] >>>>> # >>>>> >>>>> echo 7/tcp >>>>> echo 7/udp >>>>> discard 9/tcp sink null >>>>> discard 9/udp sink null >>>>> systat 11/tcp users #Active users >>>>> systat 11/tcp users #Active users >>>>> daytime 13/tcp >>>>> daytime 13/udp >>>>> qotd 17/tcp quote #Quote of the day >>>>> qotd 17/udp quote #Quote of the day >>>>> chargen 19/tcp ttytst source #Character >>>>> generator >>>>> chargen 19/udp ttytst source #Character >>>>> generator >>>>> ftp-data 20/tcp #FTP, data >>>>> ftp 21/tcp #FTP. control >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: "Francois Piette" <[EMAIL PROTECTED]> >>>>> To: "ICS support mailing" <twsocket@elists.org> >>>>> Sent: Friday, August 12, 2005 08:40 >>>>> Subject: Re: [twsocket] FTP as system service: Cannot convert port >>>>> 'ftp-data' >>>>> >>>>> >>>>>>> I'm trying to port the ftp server demo to a system service, >>>>>>> however when I connect I get this error in the ftp client: >>>>>>> >>>>>>> 451: Failed: connect: WSocketResolvePort: Cannot >>>>>>> convert port 'ftp-data'. Error #11004 >>>>>>> Unable to complete transfer >>>>>>> Any idea why it gets that error when running as a system service ? >>>>>> >>>>>> This error is from winsock when the component try to get the port >>>>>> number >>>>>> corresponding to the port >>>>>> name "ftp-data". You either have your >>>>>> <WindowsDir>\System32\Drivers\Etc\Services file missing or >>>>>> corrupted, or the account on which your service run has no permission >>>>>> to >>>>>> that system file and >>>>>> winsock can't resolve protocol names to protocol port numbers. If >>>>>> this >>>>>> error also occur with normal >>>>>> applications, then you ahve probably been hacked by a virus. Some of >>>>>> them >>>>>> mess the tcp/ip settings >>>>>> up. >>>>>> >>>>>> A quick hack would be to replace all occurences of 'ftp-data' by '20' >>>>>> in >>>>>> the component source code. >>>>>> Of course it is better to fix your system configuration. >>>>>> >>>>>> -- >>>>>> [EMAIL PROTECTED] >>>>>> http://www.overbyte.be >>>>>> >>>>>> -- >>>>>> To unsubscribe or change your settings for TWSocket mailing list >>>>>> please goto http://www.elists.org/mailman/listinfo/twsocket >>>>>> Visit our website at http://www.overbyte.be >>>>>> >>>>>> >>>>> >>>>> -- >>>>> To unsubscribe or change your settings for TWSocket mailing list >>>>> please goto http://www.elists.org/mailman/listinfo/twsocket >>>>> Visit our website at http://www.overbyte.be >>>> >>>> -- >>>> To unsubscribe or change your settings for TWSocket mailing list >>>> please goto http://www.elists.org/mailman/listinfo/twsocket >>>> Visit our website at http://www.overbyte.be >>>> >>>> >> >> >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://www.elists.org/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be >> >> > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://www.elists.org/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be