Improve company productivity with a Business Account.Sign Up

x
?
Solved

FTP Logon Issues IIS 7 Win2k8

Posted on 2011-09-15
3
Medium Priority
?
1,857 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:sparkis
  • 3
3 Comments
 

Author Comment

by:sparkis
ID: 36544455
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
0
 

Accepted Solution

by:
sparkis earned 0 total points
ID: 36544931
fixed the problem

IF you change the password make sure you make the change in IIS under basic settings - where you enter username and password.
0
 

Author Closing Comment

by:sparkis
ID: 36544934
fixed it
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

A procedure for exporting installed hotfix details of remote computers using powershell
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

589 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question