如何停止IIS要求对本地主机上的默认网站进行身份验证 [英] How to stop IIS asking authentication for default website on localhost

查看:154
本文介绍了如何停止IIS要求对本地主机上的默认网站进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Windows XP Pro SP2上安装了IIS 5.1.此外,我还安装了带有.NET 3.5的VS 2008 Express.因此,很明显,IIS是为ASP.NET自动为.NET 3.5配置的.

I have IIS 5.1 installed on Windows XP Pro SP2. Besides I have installed VS 2008 Express with .NET 3.5. So obviously IIS is configured for ASP.NET automatically for .NET 3.5

问题是每当我访问 http://localhost IE& Firefox均显示身份验证框.即使输入管理员用户及其密码,身份验证也会失败.我已经在默认网站的目录安全性"选项中检查了匿名用户访问权限(IUSR_用户,密码由IIS控制).

The problem is whenever I access http://localhost IE & Firefox both presents authentication box. Even if I enter Administrator user and its password, the authentication fails. I have already checked the anonymous user access (with IUSR_ user and password is controlled by IIS) in Directory Security options of default website.

但是其他已部署的Web应用程序也可以正常工作(不要求任何身份验证).

However other deployed web apps work fine (does not ask for any authentication).

在IE中,如果我在Intranet站点选项中添加 http://localhost ,则此身份验证过程将停止.

In IE this authentication process stops if I add http://localhost in Intranet sites option.

请注意,安装IIS时文件系统为FAT32.

Please note that the file system is FAT32 when IIS is installed.

关于, 贾坦(Jatan)

Regards, Jatan

推荐答案

这很可能是NT文件权限问题. IUSR_需要具有文件系统权限才能读取您所请求的任何文件(例如/inetpub/wwwroot/index.htm).

如果仍然遇到问题,请检查IIS日志,通常在\ windows \ system32 \ logfiles \ W3SVC *.

This is most likely a NT file permissions problem. IUSR_ needs to have file system permissions to read whatever file you're requesting (like /inetpub/wwwroot/index.htm).

If you still have trouble, check the IIS logs, typically at \windows\system32\logfiles\W3SVC*.

这篇关于如何停止IIS要求对本地主机上的默认网站进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆