When I try to start the FTP service, I get the message:
Windows could not start the Microsoft FTP Service service on Local Computer Error 1168: Element not found.
I check the event logs and I find the full details:
The FTP Service encountered an error trying to read configuration data from file \\?\C:\Windows\system32\inetsrv\config\applicationHost.config, line number 0. The error message is: The configuration section 'system.ftpServer/serverRuntime' cannot be read because
it is missing a section declaration . The problem occurred at least 1 times in the last 5 minutes. The data field contains the error number.
From the example on page http://www.iis.net/ConfigReference/system.ftpServer/serverRuntime I've tried adding this:
underneath the system.ftpserver section, and the error changes to:
Error 50: The request is not supported.
I've also tried running the command listed from the same page:
appcmd.exe set config -section:system.ftpServer/serverRuntime /hostNameSupport.useDomainNameAsHostName:"True" /commit:apphost
Which errors out with the same message:
ERROR ( message:Configuration error
Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line Number: 0
Description: The configuration section 'system.ftpServer/serverRuntime' cannot be read because it is missing a section declaration
. )
Help? Please?
I'm running Win7 Ultimate with IIS 7.5.
Would it just be easier to set up a different FTP server, like FileZilla?
To start FTP Service, the configuration of serverRuntime is not required. On my machine(IIS7.5 windows server 2008 R2), the Microsoft FTP Service runs no problem without configuration of serverRuntime("<serverRuntime />). Please modify your configuraiton
like this <serverRuntime />.
If this still can't solve your problem. Try to reinstall the FTP service:
DiscipleGeek
1 Post
Unable to start Microsoft FTP service
Apr 12, 2012 06:35 PM|LINK
Windows could not start the Microsoft FTP Service service on Local Computer Error 1168: Element not found.
I check the event logs and I find the full details:
The FTP Service encountered an error trying to read configuration data from file \\?\C:\Windows\system32\inetsrv\config\applicationHost.config, line number 0. The error message is: The configuration section 'system.ftpServer/serverRuntime' cannot be read because it is missing a section declaration . The problem occurred at least 1 times in the last 5 minutes. The data field contains the error number.
From the example on page http://www.iis.net/ConfigReference/system.ftpServer/serverRuntime I've tried adding this:
<serverRuntime>
<hostNameSupport useDomainNameAsHostName="true" />
</serverRuntime>
underneath the system.ftpserver section, and the error changes to:
Error 50: The request is not supported.
I've also tried running the command listed from the same page:
appcmd.exe set config -section:system.ftpServer/serverRuntime /hostNameSupport.useDomainNameAsHostName:"True" /commit:apphost
Which errors out with the same message:
ERROR ( message:Configuration error
Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Line Number: 0
Description: The configuration section 'system.ftpServer/serverRuntime' cannot be read because it is missing a section declaration
. )
Help? Please?
I'm running Win7 Ultimate with IIS 7.5.
Would it just be easier to set up a different FTP server, like FileZilla?
ftp Windows 7 iis 7.5
Topspy
414 Posts
Re: Unable to start Microsoft FTP service
Apr 13, 2012 02:05 AM|LINK
Asp.net Hosting | Windows Hosting | SQL Server Hosting
Mamba Dai - ...
651 Posts
Microsoft
Re: Unable to start Microsoft FTP service
Apr 16, 2012 08:33 AM|LINK
Hi,
To start FTP Service, the configuration of serverRuntime is not required. On my machine(IIS7.5 windows server 2008 R2), the Microsoft FTP Service runs no problem without configuration of serverRuntime("<serverRuntime />). Please modify your configuraiton like this <serverRuntime />.
If this still can't solve your problem. Try to reinstall the FTP service:
http://learn.iis.net/page.aspx/263/installing-and-configuring-ftp-7-on-iis-7/
Feedback to us
Develop and promote your apps in Windows Store