IIS要求登录凭据 [英] IIS asking for log in credentials

查看:150
本文介绍了IIS要求登录凭据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在虚拟机上安装了此Windows Server,并且我在该虚拟机的IIS上有一个网站用于某些测试目的。这里的问题是,每次我想访问该网站时,该网站都会要求我提供一些用户名和密码。起初我不知道为什么,我尝试使用网站登录,但它没有奏效。然后我使用了虚拟机的登录,这就是它的工作原理。我的问题是,如何禁用它?该站点位于虚拟目录中,我将其放在我的文档中。起初我以为是这样,但是当我将我的文档文件夹的安全性更改为共享时,它仍然一直要求我提供凭据。任何想法?

I have this Windows Server installed on a virtual machine, and I have a website on IIS of that virtual machine for some testing purposes. The problem here is, that everytime I want to acces to the website, the site asks me for some username and password. At first I didn't know why, I tried using the sites login but it didn't worked. Then I used the virtual machine's log in and that's how it worked. My question here is, how do I disable it? The site is in a virtual directory, and I had it located on My documents. At first I thought it was that but when I changed the security of the "My Documents" folder to shared, it still keeps asking me for credentials. Any Ideas?

推荐答案

这可能与IIS中站点的身份验证设置有关。您是否通过IIS为该站点启用了Windows身份验证?以下是一个很好的链接,有助于解决您的问题:

This likely has to do with the authentication settings of the site within IIS. Do you have Windows Authentication turned on for the site via IIS? Here is a good link that should help solve your issue:

http://www.c-sharpcorner.com/Forums/Thread/123890/ site-in-iis-7-is-ask-for-username-and-pas.aspx

这篇关于IIS要求登录凭据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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