找不到元数据库密钥“LM/W3SVC”,但已安装 IIS 10

找不到元数据库密钥“LM/W3SVC”,但已安装 IIS 10

我尝试从 Visual Studio 发布我的网站。远程连接正常,我检查过,之前单击过“验证连接”。

当我单击“发布”时出现此错误:

The metabase key '/LM/W3SVC' could not be found.
Unable to access the IIS configuration system. Please make sure you have IIS 7 (or later) installed.
Retrieving the COM class factory for component with CLSID {2B-133B-4602-8452-8344546344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).   deploy      0   

我在 EC2 上使用 Windows Server 2019,并且安装了 IIS 10。也许需要更多配置?

相关内容