IIS Windows身份验证在服务器上不断提示 [英] IIS Windows Authentication keeps prompting on SERVER

查看:68
本文介绍了IIS Windows身份验证在服务器上不断提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我继承了在Windows Server 2012和IIS上运行的ASP.net Web应用程序.该应用程序可以正常运行,但是没有Test实例.尝试进行设置时,我尝试浏览服务器上IIS中的实时和测试实例,但是两者都不断提示输入设置为Windows身份验证的凭据.与Live实例的客户端连接在Windows身份验证中可以正常工作.我检查了Windows身份验证是否已在服务器管理器上的Web服务器的安全角色中设置.我曾尝试将NTLM移至上方,以协商这些站点的Windows身份验证提供程序.我发现唯一起作用的是为"DisableLoopbackCheck"设置注册表项.通过执行以下操作,

I have inherited an ASP.net web application running on Windows server 2012 and IIS. The application works fine but there was no Test instance. When attempting to set one up I tried browsing both Live and Test instances within IIS on the server but both continually prompt for credentials as set to Windows Authentication. While a Client connection to the Live instance works fine with Windows Authentication. I checked Windows Authentication was setup within the Web Server's security role on the server manager. I have tried moving NTLM up above negotiate for these sites' Windows Authentication Providers. The only thing i found that worked was setting up a registry key for "DisableLoopbackCheck" by doing the following,

  1. 在Regedit中,转到HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Lsa
  2. 右键单击Lsa>>新>>DWORD值.
  3. 将此名称命名为DisableLoopbackCheck,然后按Enter.
  4. 右键单击DisableLoopbackCheck,然后单击修改".
  5. 在数值数据"框中,键入1,然后单击确定".
  6. 退出注册表编辑器,然后在IIS中重新启动网站

但是,我想请您澄清以下内容,

However, I wish to ask the following to clarify,

a)这是实现这一目标的唯一方法吗?有没有更好的办法?b)此注册表修订会影响自己计算机上的客户端用户吗?

a) Is this the only way to achieve this? Is there a better way? b) Will this registry amendment affect the client users on their own machines?

推荐答案

也许您可以尝试以下方式:

Maybe you can try this way:

  1. 在任务栏上打开Internet属性,然后选择安全性.

  1. Open the internet properties on the task bar and select security.

选择Internet单击自定义级别.您会在列表底部找到用户身份验证.

Choose Internet click custom level. You’ll find user authentication at the bottom of list.

将策略更改为使用当前用户名和密码自动登录.

Change the policy to automatic logon with current username and password.

这篇关于IIS Windows身份验证在服务器上不断提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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