I have this Deploy error:
dotnet:
dotnet: Welcome to .NET 6.0!
SDK Version: 6.0.400
Telemetry
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
dotnet: MSBuild version 17.3.0+92e077650 for .NET
dotnet: Determining projects to restore...
dotnet: Restored C:\Users\Nuno Pimenta\Documents\projeto-radzen\server\GestorClinico.csproj (in 25,02 sec).
dotnet: GestorClinico -> C:\Users\Nuno Pimenta\Documents\projeto-radzen\server\bin\Release\net6.0\GestorClinico.dll
dotnet: GestorClinico -> C:\Users\Nuno Pimenta\Documents\projeto-radzen\server\bin\Release\net6.0\publish\
radzen: Server application prepare for publish done in 122773ms.
radzen: Deploying...
radzen: Reading connection strings
radzen: Saving connection strings in appsettings.json
radzen: Creating temporary deploy folder
radzen: Copying server app to deploy folder
radzen: Syncing deploy folder with server
msdeploy: Error: The metabase key '/LM/W3SVC' could not be found.
Error: Unable to access the IIS configuration system. Please make sure you have IIS 7 (or later) installed.
Error: Falha ao obter class factory de COM do componente com CLSID {2B72133B-3F5B-4602-8952-803546CE3344} devido ao seguinte erro: 80040154 Classe não registada (Excepção de HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
msdeploy: Error count: 1.
Why?