Link to home
Start Free TrialLog in
Avatar of sparkis
sparkis

asked on

FTP Logon Issues IIS 7 Win2k8

FTP has been working fine. I reset the password today and now I cannot get back in. I deleted the account and re-created it. We are using a local account to access a local ftp directory. The username and password are correct. this user account has full access to C:FTP - and has Allow RW FTP Authorization Rules.  In IIS when I go to Test Connection it fails for this user:
Authentication fails, Authorization Fails User Credential are invalid (C:\FTP)

530-User cannot log in, home directory inaccessible.
 Win32 error:   Logon failure: unknown user name or bad password.
 Error details: Configuration error: Can not log on locally to C:\FTP as user ftp_user with virtual directory password
 Filename: \\?\C:\Windows\system32\inetsrv\config\applicationHost.config
 Line: 233
530 End
Login failed.

Please Help
Avatar of sparkis
sparkis

ASKER

I followed these isntructions below but After I restart IIS it does not recreate the Password attribute. Can anyone tell me what exactly I should remove from this:
password=”[enc:IISWASOnlyAesProvider:JKutj5iWEWPgbesk9VAKFfaMfml9ETPNFzMUEhlfYr1A5chajmkX8r2f0oY0O/hL:enc]

I removed everything including password=


Solved: IIS ERROR or Website Error “cannot log on locally as user with virtual directory passsword”
Go the the following directory:
C:Windowssystem32inetsrvconfig
edit “applicationHost” file
NOTE: DO MAKE A BACKUP OF THIS FILE BEFORE EDITING
The website which is not running, you will see the IIS details and Application Pool settings in this file.
REMOVE the PASSWORD ATTRIBUTE FROM THE FILE OF THE WEBSITE THAT IS NOT OPENING OR GIVING ERROR LIKE BELOW
In my case the password attribute was something like below
password=”[enc:IISWASOnlyAesProvider:JKutj5iWEWPgbesk9VAKFfaMfml9ETPNFzMUEhlfYr1A5chajmkX8r2f0oY0O/hL:enc]
there will be possible two places where you need to remove this password field, you can copy paste the path from the error page , press CTRL+F to locate the path mention in the file and remove the password attribute from it. Close the file.
Reset IIS and you will see the new password will be auto generated, the field you removed will be auto created in the file and website will start functioning properly
ASKER CERTIFIED SOLUTION
Avatar of sparkis
sparkis

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 sparkis

ASKER

fixed it