Dynamics AX 2012 R2 IIS WebSite Unauthorized 401

    今天,Reinhard部署好Aif Customer Service ,打开http://host:port/MicrosoftDynamicsAXAif60/,发现提示以下错误:

401 - Unauthorized: Access is denied due to invalid credentials

401 - 未授权: 由于凭据无效,访问被拒绝。
您无权使用所提供的凭据查看此目录或页面。

Screenshot20150114155447

    我们都知道,AX使用的Windows Authentication方式。出现上面的错误的原因,是因为IIS中的Windows身份认证没有启用。

    首先进入Server Manager>Roles>Web Server(IIS)中,查看Windows Authentication是否安装。如果没有安装,需要安装。

Screenshot20150114160730

    安装完毕后,进入到IIS管理器>Authentication

Screenshot20150114161849

    将Windows Authentication设为Enable

Screenshot20150114162144

    现在,重新打开站点,已经可以正常访问了。

原文地址:https://www.cnblogs.com/msdynax/p/ax-website-unauthorized-401.html