FTP错误530用户无法登录 [英] FTP Error 530 User cannot login
问题描述
我正在尝试FTP到我使用IIS 7.0为Windows Server Web(64位)版本设置的新FTP站点.但是,当我尝试登录到此站点时,出现上述错误.但是我可以登录到其他FTP站点.
I am trying to FTP to a new FTP site I setup with IIS 7.0 for the Windows Server Web (64-bit) edition. But I get the above error when I try to login to this site. But I can login to my other FTP sites.
此外,当我从IIS管理器中选择此网站时,"FTP"部分不会显示在中间部分,尽管它确实显示在操作"面板中.而且我也无法成功登录到该FTP站点.
Also, when I select this website from IIS Manager, the FTP section does not display in the middle section although it does display in Action panel. And I cannot successfully login to this FTP site either.
我已检查并且已选择本地登录".我没有只允许匿名连接.我已从选定的网络访问这台计算机.
I have checked and I have Log on locally selected. I do not have allow only anonymous connections. I have Access this computer from the network selected.
我也重新启动了IIS和FTP服务.
I restarted my IIS and FTP services also.
我在IIS中注意到此网站的另一件事与可使用FTP的其他站点不同,这是该站点下有3个虚拟目录的地方.而且,当我单击这3个中的任何一个时,FTP栏确实会出现在中央窗格中.有道理吗?
The one different thing I noticed about this website in IIS different from the other site that has FTP working is that this one there are 3 virtual directories beneath the site. And that when I click on any one of these 3, then the FTP strip does appear in the center pane. Make sense?
如何调试此错误的原因?我可以使用任何SW工具吗?
How can I debug cause of this error? Any SW tools I can use?
推荐答案
您是否尝试过从FTP服务器登录?如果执行此操作,并且在"FTP消息"下启用了显示来自本地请求的详细消息",则您将更清楚地知道登录失败的原因.就我而言,我收到以下消息(我正在使用IIS管理器用户和通过身份验证)
Have you tried logging in from the FTP server? If you do this, and have "Show detailed messages from local requests" enabled under FTP Messages, then you'll get a clearer idea as to why the login if failing. In my case I got the following message (I am using IIS Manager Users, and Passthrough authentication)
530-User cannot log in.
Win32 error: Access is denied.
Error details: Filename: \\?\C:\Windows\system32\inetsrv\config\redirection.config
Error: Cannot read configuration file due to insufficient permissions
为解决此问题,我为NETWORK SERVICES用户提供了对错误消息中指定的config目录的只读访问权限.我不是100%肯定这是正确的做法,但是它确实为我解决了这个问题.
To solve this I gave the NETWORK SERVICES user read only access to the config directory specified in the error message. I'm not 100% sure this is the right thing to do, but it certainly fixed this issue for me.
这篇关于FTP错误530用户无法登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!