Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Vista/MSMQ question

Reply
Thread Tools Display Modes

Vista/MSMQ question

 
 
ESmith
Guest
Posts: n/a

 
      08-10-2007
I'm developing an application geared towards the Vista platform and I'd like
to use MSMQ services through WCF.
My concern is that by default, MSMQ in not installed and I'm hesitant to
"hope" that even with simple instructions one can ask a non-technically
inclined user to install MSMQ services in order to use my application.

Is there a programmatic way to invoke / install MSMQ?


 
Reply With Quote
 
 
 
 
Michael Solomon
Guest
Posts: n/a

 
      08-10-2007


"ESmith" <> wrote in message
news:...
> I'm developing an application geared towards the Vista platform and I'd
> like to use MSMQ services through WCF.
> My concern is that by default, MSMQ in not installed and I'm hesitant to
> "hope" that even with simple instructions one can ask a non-technically
> inclined user to install MSMQ services in order to use my application.
>
> Is there a programmatic way to invoke / install MSMQ?
>

This is a user to user support group. You will probably have better luck
with this question in a developer such as one of the MSDN, Microsoft
Developers Network, newsgroups:

http://msdn.microsoft.com/newsgroups/default.aspx
--
Michael Solomon
Backup is a PC user's best friend
DTS-L.Org: http://www.dts-l.org/

 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      08-10-2007
"ESmith" <> wrote ...
> I'm developing an application geared towards the Vista platform and I'd
> like to use MSMQ services through WCF.
> My concern is that by default, MSMQ in not installed and I'm hesitant to
> "hope" that even with simple instructions one can ask a non-technically
> inclined user to install MSMQ services in order to use my application.


Hi Eliana,

It's not programmatic, as such; but you can start a silent installation of
MSMQ from the command line, by using the new "Package Manager" facility in
Vista and Server 2008 (and, yes: this is very reminiscent of BSD Unix and
Solaris!!! :-).Run "pkgmgr /?" at a command prompt, to see the syntax.

To install MSMQ the command would basically be:

C:\>pkgmgr /iu:MSMQ-Container;MSMQ-Server

You could run this is a batch file, script or ShellExec() call in your code.
Be aware that Windows may require Administrator consent to complete the
installation (although, there may be workarounds).

The exact details of package names for various Windows components is
described in the WAIK ("Windows Automated Installer Kit"); see
http://www.microsoft.com/downloads/d...DisplayLang=en

Thank you for using MSMQ - this is one of the most powerful and little-known
features of Windows. I spent several years working with MSMQ applications;
it can reliably sustain very high transaction rates in punishing enterprise
environments.

Good luck with the project.
--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Marina
Guest
Posts: n/a

 
      08-20-2007
Hi all!
I have a problem with msmq installation on my computer (Windows Vista, MSMQ
4.0). My computer is in domain and domain controller on Win 2003 server. I
have tried to install msmq in domain mode but it always is in workgroup mode
even if i have installed it without Active Directory Domain Services
integration and delete my msmq settings from AD before installation. Does
enyone know steps to fix this problem? I am a developer and need to be able
to access public queues either on my local machine as on servers.
 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      08-21-2007
"Marina" <> wrote ...
> I have a problem with msmq installation on my computer (Windows Vista,
> MSMQ
> 4.0). My computer is in domain and domain controller on Win 2003 server. I
> have tried to install msmq in domain mode but it always is in workgroup
> mode
> even if i have installed it without Active Directory Domain Services
> integration and delete my msmq settings from AD before installation. Does
> enyone know steps to fix this problem? I am a developer and need to be
> able
> to access public queues either on my local machine as on servers.



Hi Marina

There could be a few causes. I'd suggest you try asking over in the
microsoft.public.msmq.setup newsgroup - John B and the other folks there can
probably answer this off the top of their heads.

The main causes I'd investigate:

1) permissions - you need to make sure you are running as Administrator,
when you install MSMQ. If you don't have permissions to create AD objects,
MSMQ Setup may fall back to Workgroup mode. If you are using pkgmgr to
install, it is not enough merely to be logged in as an Administrator, you
must start it from a Command Prompt which you run "As Administrator" from
the context menu; ie, it must say "Administrator:Command Prompt" in the
title bar.

2) Problems contacting the Domain Controller - make sure there are no
networking issues.

3) Under HKLM\SOFTWARE\Microsoft\MSMQ\Parameters the REG_DWORD value
"Workgroup" is set to 1 not 0, and you don't have permissions to change it.
Workgroup must be 0, in order for Domain integration to work (and thus,
Public Queues to be available).

FWIW, I have MSMQ installed on several Vista workstations and haven't had
any problems accessing public queues ... whatever is blocking your setup is
likely to be some small glitch easily corrected, and domain mode should work
fine after that.

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
Marina
Guest
Posts: n/a

 
      08-27-2007
Unfortunaly, these issues didn't help.
Yes, I'm an admin on my computer, and we don't have some problems with
domaim controller access. I have asked our network administrator to install
msmq with his rights by it doesn't help too, the result is the same and
Workgroup key = 1 in register. I have read/write access to my active
directory (AD of my computer). Change of register key was helpful to create
public queue but i coudn't acces it from application (web service. My app
doesn't see it if i configure it by name "DIRECT=OS:<computer name>\<queue
name> and says "A workgroup installation computer does not support the
operation." for name = "<comp name>\<queue name>"). And i can't open queue
messages subfolder from Server Explorer too (from VS 2005) with error about
workgroup installation. Do someone have any other idea?


"Andrew McLaren" wrote:

> "Marina" <> wrote ...
> > I have a problem with msmq installation on my computer (Windows Vista,
> > MSMQ
> > 4.0). My computer is in domain and domain controller on Win 2003 server. I
> > have tried to install msmq in domain mode but it always is in workgroup
> > mode
> > even if i have installed it without Active Directory Domain Services
> > integration and delete my msmq settings from AD before installation. Does
> > enyone know steps to fix this problem? I am a developer and need to be
> > able
> > to access public queues either on my local machine as on servers.

>
>
> Hi Marina
>
> There could be a few causes. I'd suggest you try asking over in the
> microsoft.public.msmq.setup newsgroup - John B and the other folks there can
> probably answer this off the top of their heads.
>
> The main causes I'd investigate:
>
> 1) permissions - you need to make sure you are running as Administrator,
> when you install MSMQ. If you don't have permissions to create AD objects,
> MSMQ Setup may fall back to Workgroup mode. If you are using pkgmgr to
> install, it is not enough merely to be logged in as an Administrator, you
> must start it from a Command Prompt which you run "As Administrator" from
> the context menu; ie, it must say "Administrator:Command Prompt" in the
> title bar.
>
> 2) Problems contacting the Domain Controller - make sure there are no
> networking issues.
>
> 3) Under HKLM\SOFTWARE\Microsoft\MSMQ\Parameters the REG_DWORD value
> "Workgroup" is set to 1 not 0, and you don't have permissions to change it.
> Workgroup must be 0, in order for Domain integration to work (and thus,
> Public Queues to be available).
>
> FWIW, I have MSMQ installed on several Vista workstations and haven't had
> any problems accessing public queues ... whatever is blocking your setup is
> likely to be some small glitch easily corrected, and domain mode should work
> fine after that.
>
> --
> Andrew McLaren
> amclar (at) optusnet dot com dot au
>
>

 
Reply With Quote
 
Andrew McLaren
Guest
Posts: n/a

 
      08-27-2007
"Marina" <> wrote ...

> Unfortunaly, these issues didn't help.


In that case, I strongly recommend you shift the discussion across to
microsoft.public.msmq.deployment.

The problem you are seeing needs to be solved; but it is not intrinsic to
Vista. In general, MSMQ can run in Domain mode on Vista, much the same as it
did on Windows 2003 and XP. I suspect there's some slightly unusual factor
in your environment which is causing the effect you're seeing. It's not
necessarily wrong; just something you need to take into account.

This KnowledgeBase article might be relevant:
http://support.microsoft.com/default...b;EN-US;935498

This article discusses MSMQ on the "server" but applies to MSMQ 4.0 on Vista
workstation as well.

If that doesn't solve the problem, please ask over on
microsoft.public.msmq.deployment.

--
Andrew McLaren
amclar (at) optusnet dot com dot au


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSMQ unattended installation randomly fails with Vista 64 SP1 usin WB Windows Vista General Discussion 1 04-25-2008 08:21 PM
VISTA question. zara Windows Vista Installation 4 12-24-2007 06:09 PM
vista genral question and ultimate question pedro g Windows Vista General Discussion 7 02-10-2007 03:34 AM
Dual boot system question and family deal discount question Betatesterzz Windows Vista General Discussion 2 01-31-2007 01:25 PM
Unattended installation of MSMQ WB Windows Vista Installation 0 10-04-2006 12:16 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59