无法在 Windows 个容器中创建应用程序池特定用户身份

Can not create App-pool SpecificUser Identity inside Windows Containers

我正在为我的 Web 应用程序尝试 Windows 基于 microsoft/dotnet35 图像的容器 Windows Server 2016 TP5。我需要为特定用户设置 App-pool Identity,但出现错误。当 运行 下面的命令在 Windows 容器中时。

C:\>%windir%\system32\inetsrv\appcmd set apppool /apppool.name:spark /processModel.identityType:SpecificUser /processModel.username:Domain\username /processModel.password:test

APPPOOL object "spark" changed ERROR ( hresult:80090016, message:Failed to commit configuration changes. Keyset does not exist )

我无法连接到我的数据库,因为我正在使用 Windows 身份验证。

请帮忙。

此致

经过四处寻找,我终于找到了问题所在。在我 运行 下面的命令

之后错误消失了
%windir%\system32\inetsrv\iissetup.exe /install SharedLibraries