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

401 - Unauthorized: Access is denied due to invalid credentials

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

Dynamics AX 2012 R2 IIS WebSite Unauthorized 401

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

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

Dynamics AX 2012 R2 IIS WebSite Unauthorized 401

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

Dynamics AX 2012 R2 IIS WebSite Unauthorized 401

    将Windows Authentication设为Enable

Dynamics AX 2012 R2 IIS WebSite Unauthorized 401

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

 

相关文章: