Solved

FTP Logon Issues IIS 7 Win2k8

Posted on 2011-09-15
3
1,705 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

707 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now