配置传递Windows Auth - MVC 4 / IIS

时间:2015-05-01 19:34:34

标签: visual-studio iis windows-authentication

我刚刚改变了公司,我正在这里建立我的第一个应用程序。 MVC内联网应用程序在工作。我通常通过windows auth设置web配置,但是当我从VS2013运行应用程序时,我会弹出登录窗口。我需要检查一些外部设置吗?我的盒子上有IIS设置的东西?我应该研究一些网络设置?

编辑 - 我的设置是: Webconfig:

<authentication mode="Windows" />
 <authorization>
   <deny users="?" />
 </authorization>

项目属性:

Windows Auth enabled
Anonymous disabled.

IIS Express:

Windows auth enabled
Basic Auth disabled.

编辑 - 我通常在Chrome中开发,这是我遇到问题的地方。我刚刚在IE中试过,应用程序启动正常,没有登录窗口。所以这个问题只发生在chrome中。想法?

编辑 - 我终于能够让netwrok管理员将Localhost添加到受信任的站点,没有帮助。仍在寻找想法。

0 个答案:

没有答案
相关问题