如何修复“访问控制列表 (ACL) 结构无效" [英] How to fix "The access control list (ACL) structure is invalid"

查看:44
本文介绍了如何修复“访问控制列表 (ACL) 结构无效"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了 Win 10 pro v1803 和 Visual Studio 2019,当我尝试运行新创建的 .NET Web 应用程序时,我收到以下消息:

I installed Win 10 pro v1803 and Visual Studio 2019, and when I tried to run a newly created .NET web application, I get the following message:

此项目配置为使用 SSL.为避免浏览器中出现 SSL 警告,您可以选择信任 IIS-Express 生成的自签名证书.

This project is configured to use SSL. To avoid SSL warnings in the browser you can choose to trust the self-signed certificate that IIS-Express has generated.

您要信任 IIS Express SSL 证书吗?

Would you like to trust the IIS Express SSL certificate?

单击是"后,我得到:

将证书添加到受信任的根证书存储失败并出现以下错误:

Adding the certificate to the Trusted Root Certificates store failed with the following error:

访问控制列表 (ACL) 结构无效.

The access control list (ACL) structure is invalid.

我尝试从管理计算机证书"中删除证书并从控制面板修复 IIS Express 10,但没有成功.

I've tried removing the certificate from 'manage computer certificates' and repair IIS Express 10 from control panel, but it didn't work.

另外,当我运行另一个 Web 应用程序时,我保存在另一台笔记本电脑上并将其复制到当前笔记本电脑上,我没有收到此错误.

Also, when I run another web application, that I had saved on another laptop and copied it on the current one, I don't get this error.

推荐答案

我必须做 3 件事,它对我有用.

I had to do 3 things and it worked for me.

  1. 从(控制面板 | 程序和功能)卸载 iis express
  2. 从此处下载并重新安装 (IIS) 10.0 Expresshttps://www.microsoft.com/en-us/下载/confirmation.aspx?id=48264
  3. 复制本地主机证书
    • 证书(本地计算机)|个人 |证书并复制到
    • 证书(本地计算机)|受信任的根证书颁发机构

重新启动 vs(我使用的是 2019 和 vs 预览版 2019)和任何打开的浏览器.

Restart vs (i am using 2019 and vs preview 2019) and any open browsers.

这篇关于如何修复“访问控制列表 (ACL) 结构无效"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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