ASP.Net 4.0-IIS7-Server 2008R2!=身份验证 [英] ASP.Net 4.0 - IIS7 - Server 2008R2 != Authentication

查看:77
本文介绍了ASP.Net 4.0-IIS7-Server 2008R2!=身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个简单的网站(内联网),我想在该网站上根据我们的AD对访问该网站的用户进行身份验证.该站点与AD(Server 2008 R2)托管在同一台计算机上.

我已经删除了匿名"身份验证并在IIS上启用了"Windows"身份验证并将其设置在Web配置文件中,但是访问该站点时,我仍然从Windows收到登录"框.

我设法在我的开发机(Win7 64位)上启用了此功能[VS2010]

我在网上搜索并看到了启用NTLM身份验证的链接,然后有一些链接建议您需要运行命令行工具来启用" Windows7和Server2008R2以信任"该站点,而各种并非如此"正常"的东西.

我很确定这是很简单的设置,但是对我而言,我无法使其正常运行.

I have a simple website (intranet) where I want to authenticate the users accessing the site against our AD. The site is hosted on the same machine as AD (Server 2008 R2)

I have removed "anonymous" authentication and enabled "Windows" authentication on IIS and set it in the web config file, but I still get a "login" box from Windows when accessing the site.

I have managed to enable this on my dev machine (Win7 64bit) [VS2010]

I have searched the web and have seen links to enable NTLM auth etc, then there are some links that suggest you need to run a command line tool to "enable" Windows7 and Server2008R2 to "trust" the site and all kinds of "not so normal" stuff.

I am pretty sure it is a simple thing to setup, but for the life of me, I cannot get it to function correctly.

推荐答案

您是否已安装Windows?身份验证角色服务?检查一下.默认情况下未安装.

Windows身份验证IIS 7x [
Do you have installed the windows authentication role service? Check this. By default it''s not installed.

Windows Authentication IIS 7x[^]




找到了答案.
我的机器将Intranet站点设置为"Internet".

http://social.technet.microsoft.com/Forums/zh/winserverGP/thread/f0892766-c7ce-4083-bfb8-4c0cde57f671 [
Hi,

Found the answer.
My machine was picking the intranet site up as "Internet".

http://social.technet.microsoft.com/Forums/en/winserverGP/thread/f0892766-c7ce-4083-bfb8-4c0cde57f671[^]


这篇关于ASP.Net 4.0-IIS7-Server 2008R2!=身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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