Unable to deploy C# web app using Web Deploy Command Line

0

Using Visual Studio I created zip compressed folder with my project. Then I tried to deploy it using project_name.deploy.cmd /Y script (opened as administrator) but after this I am getting error:

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: Retrieving the COM class factory for component with CLSID {2B72133B-3F5B-4602-8952-803546CE3344} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Error count: 1.

In Control Panel I have got installed IIS 10.0 Express but when in Control Panel I am trying to "Turn Windows features on or off" for IIS I don't see this option there.

Do you have any ideas how to make it work? I am working on Windows Server 2016 Standard.

c#
iis
web-applications
webdeploy
iis-10
asked on Stack Overflow Jun 20, 2018 by andrew46 • edited Jun 20, 2018 by Zoe

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0