IIS 网站 css与js文件报错 net::ERR_ABORTED 401 (Unauthorized)
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.
在网站物理路径文件夹
- 右键 → 属性 → 安全 → 编辑
- 添加以下用户/组并给予"读取"权限:
-
IIS_IUSRS
(组)
-
IUSR
(用户)
刷新即可