469,275 Members | 1,871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,275 developers. It's quick & easy.

A service can't run MessageQueueing....

UJ
I have a program that works just fine as a windows program. I took an object
from it and put it in a service. This object uses MessageQueueing. When I
try and start up the app I get the following error message in the event log:

Service cannot be started. System.Messaging.MessageQueueException:
Access to Message Queuing system is denied.

I'm using the local system account for the account.

What do I need to do in order to make this work?

TIA - Jeff.
Feb 22 '06 #1
8 24954
It's because service incorporated in NETWORK SERVICE user.
Grand righst to MQ for this user

"UJ" wrote:
I have a program that works just fine as a windows program. I took an object
from it and put it in a service. This object uses MessageQueueing. When I
try and start up the app I get the following error message in the event log:

Service cannot be started. System.Messaging.MessageQueueException:
Access to Message Queuing system is denied.

I'm using the local system account for the account.

What do I need to do in order to make this work?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Feb 22 '06 #2
UJ
I don't see user through the user's display. Where would I find it?

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:CD**********************************@microsof t.com...
It's because service incorporated in NETWORK SERVICE user.
Grand righst to MQ for this user

"UJ" wrote:
I have a program that works just fine as a windows program. I took an
object
from it and put it in a service. This object uses MessageQueueing. When I
try and start up the app I get the following error message in the event
log:

Service cannot be started. System.Messaging.MessageQueueException:
Access to Message Queuing system is denied.

I'm using the local system account for the account.

What do I need to do in order to make this work?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not
cease to be insipid." (c) Friedrich Nietzsche

Feb 22 '06 #3
Try to open Computer Management->MSMQ and grands rights for this user

"UJ" wrote:
I don't see user through the user's display. Where would I find it?

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:CD**********************************@microsof t.com...
It's because service incorporated in NETWORK SERVICE user.
Grand righst to MQ for this user

"UJ" wrote:
I have a program that works just fine as a windows program. I took an
object
from it and put it in a service. This object uses MessageQueueing. When I
try and start up the app I get the following error message in the event
log:

Service cannot be started. System.Messaging.MessageQueueException:
Access to Message Queuing system is denied.

I'm using the local system account for the account.

What do I need to do in order to make this work?


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not
cease to be insipid." (c) Friedrich Nietzsche


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche

Feb 22 '06 #4
UJ
When I try and change the properties and go to the security section, it says
"The security descriptor cannot be obtained. Error: This operation is not
supported for Message Queuing installed in workgroup mode."

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
Try to open Computer Management->MSMQ and grands rights for this user

"UJ" wrote:
I don't see user through the user's display. Where would I find it?

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:CD**********************************@microsof t.com...
> It's because service incorporated in NETWORK SERVICE user.
> Grand righst to MQ for this user
>
> "UJ" wrote:
>
>> I have a program that works just fine as a windows program. I took an
>> object
>> from it and put it in a service. This object uses MessageQueueing.
>> When I
>> try and start up the app I get the following error message in the
>> event
>> log:
>>
>> Service cannot be started. System.Messaging.MessageQueueException:
>> Access to Message Queuing system is denied.
>>
>> I'm using the local system account for the account.
>>
>> What do I need to do in order to make this work?
>
> --
> WBR,
> Michael Nemtsev :: blog: http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do
> not
> cease to be insipid." (c) Friedrich Nietzsche


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not
cease to be insipid." (c) Friedrich Nietzsche

Feb 22 '06 #5
You need to change the security properties of the queue itself (private
queue), not the security settings of the MSMQ service.

Willy.

"UJ" <fr**@nowhere.com> wrote in message
news:eX**************@TK2MSFTNGP14.phx.gbl...
| When I try and change the properties and go to the security section, it
says
| "The security descriptor cannot be obtained. Error: This operation is not
| supported for Message Queuing installed in workgroup mode."
|
| J.
|
| "Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
| message news:DE**********************************@microsof t.com...
| > Try to open Computer Management->MSMQ and grands rights for this user
| >
| > "UJ" wrote:
| >> I don't see user through the user's display. Where would I find it?
| >>
| >> J.
| >>
| >> "Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
| >> message news:CD**********************************@microsof t.com...
| >> > It's because service incorporated in NETWORK SERVICE user.
| >> > Grand righst to MQ for this user
| >> >
| >> > "UJ" wrote:
| >> >
| >> >> I have a program that works just fine as a windows program. I took
an
| >> >> object
| >> >> from it and put it in a service. This object uses MessageQueueing.
| >> >> When I
| >> >> try and start up the app I get the following error message in the
| >> >> event
| >> >> log:
| >> >>
| >> >> Service cannot be started.
System.Messaging.MessageQueueException:
| >> >> Access to Message Queuing system is denied.
| >> >>
| >> >> I'm using the local system account for the account.
| >> >>
| >> >> What do I need to do in order to make this work?
| >> >
| >> > --
| >> > WBR,
| >> > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
| >> >
| >> > "At times one remains faithful to a cause only because its opponents
do
| >> > not
| >> > cease to be insipid." (c) Friedrich Nietzsche
| >
| > --
| > WBR,
| > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
| >
| > "At times one remains faithful to a cause only because its opponents do
| > not
| > cease to be insipid." (c) Friedrich Nietzsche
| >
|
|
Feb 22 '06 #6
UJ,
With MSMQ installed in Workgroup mode, you should be able to right-click on
either the "Message Queueing" node, or on a specific private Queue, and be
able to navigate to the Security tab and manipulate accounts.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"UJ" wrote:
When I try and change the properties and go to the security section, it says
"The security descriptor cannot be obtained. Error: This operation is not
supported for Message Queuing installed in workgroup mode."

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
Try to open Computer Management->MSMQ and grands rights for this user

"UJ" wrote:
I don't see user through the user's display. Where would I find it?

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:CD**********************************@microsof t.com...
> It's because service incorporated in NETWORK SERVICE user.
> Grand righst to MQ for this user
>
> "UJ" wrote:
>
>> I have a program that works just fine as a windows program. I took an
>> object
>> from it and put it in a service. This object uses MessageQueueing.
>> When I
>> try and start up the app I get the following error message in the
>> event
>> log:
>>
>> Service cannot be started. System.Messaging.MessageQueueException:
>> Access to Message Queuing system is denied.
>>
>> I'm using the local system account for the account.
>>
>> What do I need to do in order to make this work?
>
> --
> WBR,
> Michael Nemtsev :: blog: http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do
> not
> cease to be insipid." (c) Friedrich Nietzsche


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do
not
cease to be insipid." (c) Friedrich Nietzsche


Feb 22 '06 #7
UJ
I can't seem to add the local system account (I need to use the local system
account because it needs to be able to interact with the desktop.). When I
try either 'Local System' or 'LocalSystem' (with or without the spaces) it
says the account isn't there.

J.

"Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
news:10**********************************@microsof t.com...
UJ,
With MSMQ installed in Workgroup mode, you should be able to right-click
on
either the "Message Queueing" node, or on a specific private Queue, and be
able to navigate to the Security tab and manipulate accounts.

Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"UJ" wrote:
When I try and change the properties and go to the security section, it
says
"The security descriptor cannot be obtained. Error: This operation is not
supported for Message Queuing installed in workgroup mode."

J.

"Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
message news:DE**********************************@microsof t.com...
> Try to open Computer Management->MSMQ and grands rights for this user
>
> "UJ" wrote:
>> I don't see user through the user's display. Where would I find it?
>>
>> J.
>>
>> "Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
>> message news:CD**********************************@microsof t.com...
>> > It's because service incorporated in NETWORK SERVICE user.
>> > Grand righst to MQ for this user
>> >
>> > "UJ" wrote:
>> >
>> >> I have a program that works just fine as a windows program. I took
>> >> an
>> >> object
>> >> from it and put it in a service. This object uses MessageQueueing.
>> >> When I
>> >> try and start up the app I get the following error message in the
>> >> event
>> >> log:
>> >>
>> >> Service cannot be started.
>> >> System.Messaging.MessageQueueException:
>> >> Access to Message Queuing system is denied.
>> >>
>> >> I'm using the local system account for the account.
>> >>
>> >> What do I need to do in order to make this work?
>> >
>> > --
>> > WBR,
>> > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
>> >
>> > "At times one remains faithful to a cause only because its opponents
>> > do
>> > not
>> > cease to be insipid." (c) Friedrich Nietzsche
>
> --
> WBR,
> Michael Nemtsev :: blog: http://spaces.msn.com/laflour
>
> "At times one remains faithful to a cause only because its opponents do
> not
> cease to be insipid." (c) Friedrich Nietzsche
>


Feb 22 '06 #8
You need to enter SYSTEM or select SYSTEM from the list in advanced mode.
Note also that a service should NOT interact with the desktop, this option
is there for debugging purposes anno 1995, "Vista" services can no longer
interact with the desktop at all.

Willy.

"UJ" <fr**@nowhere.com> wrote in message
news:us**************@TK2MSFTNGP09.phx.gbl...
|I can't seem to add the local system account (I need to use the local
system
| account because it needs to be able to interact with the desktop.). When I
| try either 'Local System' or 'LocalSystem' (with or without the spaces) it
| says the account isn't there.
|
| J.
|
| "Peter Bromberg [C# MVP]" <pb*******@yahoo.nospammin.com> wrote in message
| news:10**********************************@microsof t.com...
| > UJ,
| > With MSMQ installed in Workgroup mode, you should be able to right-click
| > on
| > either the "Message Queueing" node, or on a specific private Queue, and
be
| > able to navigate to the Security tab and manipulate accounts.
| >
| > Peter
| > --
| > Co-founder, Eggheadcafe.com developer portal:
| > http://www.eggheadcafe.com
| > UnBlog:
| > http://petesbloggerama.blogspot.com
| >
| >
| >
| >
| > "UJ" wrote:
| >
| >> When I try and change the properties and go to the security section, it
| >> says
| >> "The security descriptor cannot be obtained. Error: This operation is
not
| >> supported for Message Queuing installed in workgroup mode."
| >>
| >> J.
| >>
| >> "Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote in
| >> message news:DE**********************************@microsof t.com...
| >> > Try to open Computer Management->MSMQ and grands rights for this user
| >> >
| >> > "UJ" wrote:
| >> >> I don't see user through the user's display. Where would I find it?
| >> >>
| >> >> J.
| >> >>
| >> >> "Michael Nemtsev" <Mi************@discussions.microsoft.com> wrote
in
| >> >> message news:CD**********************************@microsof t.com...
| >> >> > It's because service incorporated in NETWORK SERVICE user.
| >> >> > Grand righst to MQ for this user
| >> >> >
| >> >> > "UJ" wrote:
| >> >> >
| >> >> >> I have a program that works just fine as a windows program. I
took
| >> >> >> an
| >> >> >> object
| >> >> >> from it and put it in a service. This object uses
MessageQueueing.
| >> >> >> When I
| >> >> >> try and start up the app I get the following error message in the
| >> >> >> event
| >> >> >> log:
| >> >> >>
| >> >> >> Service cannot be started.
| >> >> >> System.Messaging.MessageQueueException:
| >> >> >> Access to Message Queuing system is denied.
| >> >> >>
| >> >> >> I'm using the local system account for the account.
| >> >> >>
| >> >> >> What do I need to do in order to make this work?
| >> >> >
| >> >> > --
| >> >> > WBR,
| >> >> > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
| >> >> >
| >> >> > "At times one remains faithful to a cause only because its
opponents
| >> >> > do
| >> >> > not
| >> >> > cease to be insipid." (c) Friedrich Nietzsche
| >> >
| >> > --
| >> > WBR,
| >> > Michael Nemtsev :: blog: http://spaces.msn.com/laflour
| >> >
| >> > "At times one remains faithful to a cause only because its opponents
do
| >> > not
| >> > cease to be insipid." (c) Friedrich Nietzsche
| >> >
| >>
| >>
| >>
|
|
Feb 22 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mike | last post: by
9 posts views Thread by SP | last post: by
3 posts views Thread by Jeremy S. | last post: by
6 posts views Thread by dotNeter | last post: by
dmjpro
3 posts views Thread by dmjpro | last post: by
5 posts views Thread by dm3281 | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.