Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FTP 7.5 hangs on startup


Symptoms

Consider the following scenario:

  • You host a File Transfer Protocol (FTP) 7.5 site under Internet Information Services (IIS) 7.0 or 7.5
  • There is an IP address entry for the FTP server in the C:\Windows\System32\drivers\etc\HOSTS file
  • The network cable is unplugged during system boot up, or the network connection is set to “disabled”

Under these conditions, the FTP service may fail to start, and error messages similar to the following may appear in the System event log:

Log Name: System
Source: Service Control Manager
Event ID: 7022
Level: Error
Description:
The Microsoft FTP Service service hung on starting.


OR

Log Name: System
Source: Service Control Manager
Event ID: 7023
Level: Error
Description:
The Microsoft FTP Service service terminated with the following error:
The requested name is valid, but no data of the requested type was found.



↑ Back to the top


Cause

FTP 7.5 gets the IP address of the server by using the GetAddarInfo WinSock API during the initialization of the FTP service. The call to GetAddarInfo fails with error code 80072afc ("WSANO_DATA: The requested name is valid, but no data of the requested type was found") if there is an IP address entry for the FTP server in a HOSTS file and network access is unavailable due to the network cable being unplugged during the system boot or the network connection is set to "disabled".



To resolve this problem, remove the IP address entry of the server from the HOSTS file, or make sure that the network cable is plugged in and the network connection is set to "enabled", and then try starting the FTP service again.


↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2772698
Revision : 1
Created on : 1/7/2017
Published on : 10/30/2012
Exists online : False
Views : 97