Link to home
Start Free TrialLog in
Avatar of Winsoup
Winsoup

asked on

Windows Server 2003 FTP w/ IIS6

I am having trouble connecting to an FTP site that I created. I was able to connect to it yesterday but today it just keeps coming back and prompting for username and password.
FileZilla says "530 User **** can not log in, home directory inaccessible"
                      "Error: Critical Error"
                      "Error: Could not connect to server"

I am using Isolation and have set up local users on the server.

Thanks,
Avatar of tn-vadimc
tn-vadimc
Flag of Belgium image

I had once a similar problem, in my case my password for my ftp-account was expired.

Did you tried it already with another username?
Avatar of Winsoup
Winsoup

ASKER

I have tried with multiple different users, and I have them set up so that the passwords never sxpire right now.
Avatar of Dk_guru
You may have had the permissions of the destination location changed.
Check the permissions to be sure that the IIS user has access rights.

If the destination is on an external drive, if it loses power or connection, then you must restart the ftp server in order for it to connect to the drive.  (It could also effect a network drive...)
There is also the possibility of the firewall blocking access...

And there is a possibility that you may need to do a regedit....

Is this for intranet usage or external also? ...
Avatar of Winsoup

ASKER

This is for external also. I will check on the permissions and let you know.
Are there problems connecting both LAN and WAN or just WAN?

Do you have passive setup correctly? (External with port forwarding etc...)

Command prompt ftp works fine?
530 is NTFS permissions related. Either your FTP Home root was changed, or the folder permissions where modified.
Is this a user isolation configuration?
-Hades666
Avatar of Winsoup

ASKER

I would agree that it is NTFS permissions, I just dont know what I am missing.
Yes it is user isolation.

how is your Windows explorer directory structure configured?

User Account Types
Anonymous users                      %FtpRoot%\LocalUser\Public
Local Windows user accounts    %FtpRoot%\LocalUser\%UserName%
Windows domain accounts         %FtpRoot%\%UserDomain%\%UserName%
IIS Manager or ASP.NET custom  %FtpRoot%\LocalUser\%UserName%
 
As well, under the user directories, does the user accounts have read/write access?
-Hades666
Avatar of Winsoup

ASKER

Local Windows user accounts    %FtpRoot%\LocalUser\%UserName% is my configuration.

The user accounts do have read/write access.

Have you tried from command line.
Open CMD | ftp server FIREWALLPORT
Hades666
 
Avatar of Winsoup

ASKER

It gives me the same thing...
"530 user cannot log in, home directory inaccessible.
Login Failed"
Did you enable a firewall that is forcing passive FTP.
Try disabling Passive on your filezilla client and see if you can connect.
-Hades666
Avatar of Winsoup

ASKER

It doesnt work on Passive or Active. Like I said, I was able to sign in to it yesterday so I dont believe that it would be a firewall issue or anything. I did add some users so its very possible that the permissions got screwed up but I am not seeing anything out of the ordinary when I look at them.
Avatar of Winsoup

ASKER

I changed it so that the users were not isolated, and I was able to log in without a problem and see everything.
Now I just have to figure out why its not working when I isolate them.
The only reason would be if your FTP site was not setup correctly. The FTP IIS site should have the home root as %FTPRoot%.
Then you should have directories in windows explorer under LocalUser\%Username% where %username% is the account name.
If the perms are setup correct;y you are good.
 
You could also just run through the wizard again to craete and FTP isolation site.
-Hades666
Run through this on a new site to test. If your dir structure is the same, you should have no issues.
Set FTP IIS6 user isoaltion
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/c0918f70-7a62-4d91-a05a-6db6ec4a3bb2.mspx?mfr=true
-Hades666
Avatar of Winsoup

ASKER

Perfect, that is working again, but now I have another issue. I need to create a user that has access to all the user folders on the site.  
Yesterday they told me to create a vurtual directory and I believe it was working, but that was about the last I tried before the end of the day, and then today it wasnt working.
Is there something else that needs to be done to create this user?
ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Winsoup

ASKER

Excellent, thank you very much for the help!