IIS FTP 7.5:自定义身份验证提供程序无法正常运行错误530

时间:2010-06-25 20:22:35

标签: iis authentication ftp iis-7.5

我最近在新服务器上安装了Server 2008 R2,并希望使用IIS 7.5附带的FTP功能。

由于我的用户不是Windows用户,我使用的是IISAuthManager,但是这个prodiver不提供基于用户的主目录。

我发现这个示例http://learn.iis.net/page.aspx/669/how-to-use-managed-code-c-to-create-an-ftp-authentication-provider-using-an-xml-database/可以使用基于xml的简单用户配置。但我不能让它发挥作用。它总是让我感到高兴

Response:   530-User cannot log in.
Response:    Win32 error:   The system cannot find the file specified. 
Response:    Error details: An error occured during the authentication process.

如果读取了xml配置文件而没有运气,我使用了procmon来获取。我甚至不认为我的装配正在被使用。

有人遇到过同样的问题吗?基本上,任何提示都会被贬低。

2 个答案:

答案 0 :(得分:1)

IIS FTP自定义提供程序是调试的噩梦。在这种情况下听起来像配置错误,检查您是否按照设置说明(或手动检查applicationHost.config)。如果您仍需要帮助,请发布您的代码(inc config)。

百里

答案 1 :(得分:0)

IIS Manager > Your site > FTP Authentication

您可能已禁用所有基本身份验证和匿名身份验证。 其中一个应该启用。

相关问题