Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FTP Error 530 User cannot login

Tags:

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.

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.

I restarted my IIS and FTP services also.

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?

How can I debug cause of this error? Any SW tools I can use?

like image 215
salvationishere Avatar asked Jul 28 '10 17:07

salvationishere


People also ask

What is the reason for FTP 530 login authentication failed?

If you are encountering the 530 Authentication failed error when accessing your server files via an FTP client such as FileZilla, it means that you are using an incorrect username or password.

What is a 530 login error?

When you try to connect with your hosting account through FTP you may stumble upon the infamous 530 Login incorrect error. This error usually means that your credentials are wrong or there is something wrong with your hostname.

What is the meaning of FTP error code 530?

A 530 response code can be sent in response to any command that requires a user to log in before the command is processed. It is a permanent negative response, which means the client is discouraged from sending the command again before logging in since the server will respond with the same response code.

What does HTTP 530 mean?

The 530 HTTP Status Code means that the site is frozen indicates that a site has been frozen due to inactivity. It's possible to get a response code of 530 for any command that needs the user to log in first.


1 Answers

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

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.

like image 90
Nigel Avatar answered Oct 05 '22 01:10

Nigel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!