I am using MSMQ.MSMQQueueInfo with jscript on Windows 7 (the latest MSMQ version). This is being run on a domain joined computer. For some reason unknown to me, it just will not accept the PathName I give it (which is in an acceptable format). Here is the code:
var qi = new ActiveXObject ("MSMQ.MSMQQueueInfo");
qi.PathName = "FormatName:Direct=OS:mycomputer\\Private$\\myqueue";
I know this PathName works, because I use the exact same path in c#, and that works:
queue = new MessageQueue("FormatName:DIRECT=OS:" + contollerName + "\\Private$\\" + queueName);
When the code "qi.Open()" in the jscript code attempts to execute, it returns this error message: The queue path name specified is invalid.
Has anyone else run into this? Ideas? Comments? Suggestions? Thank you in advance!