在程序和功能打开或关闭的IIS中缺少Windows身份验证? [英] Missing windows autentication in IIS under program and feature on or off?

查看:368
本文介绍了在程序和功能打开或关闭的IIS中缺少Windows身份验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个带有Windows身份验证的asp.net mvc Web应用程序。所以,当我要在IIS中托管(在我的电脑中)时,它说

  < span class =code-string> 401  - 未经授权:由于凭据无效,访问被拒绝。
您无权使用您提供的凭据查看此目录或页面。



此外,我无法在程序& ;;下看到Windows身份验证功能。 faturea - > IIS - > WWW服务 - >安全 - > ;.

请帮我解决这个问题。

全部谢谢!



我尝试了什么:



我试了一天来解决这个问题。但我不能。

帮助我。

解决方案

默认情况下,Windows身份验证不会安装在某些版本的IIS中。

在Windows 7中,您需要执行以下操作;

控制面板>>添加删除程序>>打开或关闭Windows功能>>互联网信息服务>>万维网服务>>安全>> Windows身份验证 - 如果未选中,则表示未安装

在Windows Server 2008中,您需要执行以下操作;

服务器管理器>>角色>>添加角色服务>>安全>> Windows身份验证将在列表中 - 如果它说未安装则需要添加它。



亲切的问候

Hi all,
I have a asp.net mvc web application with windows authentication. So, When i am going to host in IIS( In my PC), It says

"401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied."


Further, i can't see Windows authentication feature to enable under program & faturea-->IIS-->WWW services-->Security-->.
Please help me to solve this.
Thanks all!

What I have tried:

I tried for a dayto solve this. But i couldn't.
Help me.

解决方案

Windows Authentication is not installed by default with certain versions of IIS.
In Windows 7 you need to do the following;
Control Panel >> Add Remove Programs >> Turn Windows Features on or off >> Internet Information Services >> World Wide Web Services >> Security >> Windows Authentication - if it is un-ticked then it is not installed
In Windows Server 2008 you need to do the following;
Server Manager >> Roles >> Add Role Services >> Security >> Windows Authentication will be in the list - if it says it is not installed you need to add it.

Kind Regards


这篇关于在程序和功能打开或关闭的IIS中缺少Windows身份验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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