Trying to install Windows Feature MSMQ-HTTP
via DISM
DISM /NoRestart /ONLINE /Enable-Feature /All /FeatureName:MSMQ-HTTP
fails with
Error: 0x800f0922
DISM failed. No operation was performed. For more information, review the log file.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
After checking the above mentioned
dism.log
and the%WINDIR%\logs\CBS\cbs.log
, I realised the MSMQ-HTTP install tries to bind an MSMQ application to the default websiteExcerpt from
cbs.log
:The problem was that I had deleted the
Default Web Site
in my zeal to start from a clean slate. Adding theDefault Web Site
back to IIS allowed the MSMQ-HTTP feature to install successfully.Kindly create a new site with siteId = 1 and try to install MSMQ again. You can change the default website ID to 1 as well.
IIS siteid = 1