Unable to install MSMQ HTTP Support - 0x80070003

You may see the following error message when you are trying to install HTTP support for MSMQ messaging:

"The Message Queuing IIS extension /LM/W3Svc/1/Root/MSMQ cannot be created. Message Queuing will not be able to receive HTTP Messages.

Error Code 0x80070003
Error Description:  The system cannot find the path specified"

What this is saying is that the MSMQ virtual directory cannot be created.
Note that setup wants to create this under "/LM/W3Svc/1/Root" which is the root of the website with ID number 1 - the default web site.
So if you have removed the default website - and there are good security reasons to - then you will break MSMQ setup.

The solutions are to recreate the default website before installing the "MSMQ HTTP Support" component.

  • Reinstall IIS (maybe too sledgehammer-walnut to be useful)
  • Or you can create a new website and move it to the position of default web site.

CD %SYSTEMDRIVE%\Inetpub\AdminScripts\
CSCRIPT adsutil.vbs STOP_SERVER W3SVC/"xx"
CSCRIPT adsutil.vbs MOVE W3SVC/"xx" W3SVC/1
CSCRIPT adsutil.vbs START_SERVER W3SVC/1

where "xx" is the ID number of the new website.

This article is part of the GWB Archives. Original Author: John Breakwell

New on Geeks with Blogs

  • We Won The One Award I Actually Care About

    Full Scale made the Inc. 5000 for the fifth year straight, the 12th listing across my three companies. Here is why the one award you cannot buy is worth stopping for.

  • Your Customers Build the Features Now

    I let a tool I liked sit dead for a year rather than build the features I wanted. An MCP server meant I never had to, and your customers can do the same to your product.

  • Get the Size of a Directory in Linux the Easy Way

    du -sh for the quick answer, ncdu for the cleanup, df for the disk itself: every command for checking directory size in Linux, plus why du and df never agree.

  • Vim Search and Replace: The Ultimate Guide

    One :%s command replaces every match in a file before a find dialog would even open. The Vim substitute patterns worth the muscle memory: flags, ranges, capture groups, and multi-file edits.