Search code examples
windowsvbscriptcommsmq

VBScripting MSMQ COM Object on Windows Server 2012


My VBScript tries to load MSMQ COM Object to connect to a remote MSMQ server.

Set MSMQQueueInfo = CreateObject("MSMQ.MSMQQueueInfo")

I enabled Messaging DCOM Proxy on my local computer

enter image description here

Script can't load COM object:

enter image description here


Solution

  • I had to also install "Message Queuing Server" even though I don't want to run MSMQ locally. Now the MSMQ COM object works.