Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / June 2004

Tip: Looking for answers? Try searching our database.

queued components and network service account.....

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ollie - 25 Jun 2004 14:31 GMT
I have a COM+ queued component written in C# and I'm trying to get it to run under the 'NETWORK SERVICE' account, it runs perfectly fine under the 'interactive user' as this happens to be a admin account (this is my development machine) but when I switch the identity in the component services MMC I get an error when trying to start the queued component, see below (this is copied out of the event log)

I am using windows 2003 server with version 1.1 of the .Net framework

Does anyone know the answer?

Cheers in Advance

Ollie

An unexpected error was returned by Message Queuing API indicated. Unable to retrieve the associated error message text. Message Queuing API return values are defined in Platform SDK file MQ.H.MQOpenQueue

Server Application ID: {11D09549-07D2-4A42-8F73-8137DB2A6849}

Server Application Instance ID:

{C241EA62-6383-4784-A3AE-7341C32CA99E}

Server Application Name: FbQueuedXXXXXXX

The serious nature of this error has caused the process to terminate.

Error Code = 0xc00e0025 :

COM+ Services Internals Information:

File: d:\nt\com\complus\src\comsvcs\qc\listener\listener2.cpp, Line: 531

Comsvcs.dll file version: ENU 2001.12.4720.130 shp
Nicholas Paldino [.NET/C# MVP] - 25 Jun 2004 14:43 GMT
Ollie,

   This is just a guess, but I think that it has something to do with the
rights for the queue that you are trying to access.  I would recommend
setting the permissions on the queue to allow the Network Service account to
access it (assuming that it doesn't already).

   Hope this helps.

Signature

              - Nicholas Paldino [.NET/C# MVP]
              - mvp@spam.guard.caspershouse.com

I have a COM+ queued component written in C# and I'm trying to get it to run
under the 'NETWORK SERVICE' account, it runs perfectly fine under the
'interactive user' as this happens to be a admin account (this is my
development machine) but when I switch the identity in the component
services MMC I get an error when trying to start the queued component, see
below (this is copied out of the event log)

I am using windows 2003 server with version 1.1 of the .Net framework

Does anyone know the answer?

Cheers in Advance

Ollie

An unexpected error was returned by Message Queuing API indicated. Unable to
retrieve the associated error message text. Message Queuing API return
values are defined in Platform SDK file MQ.H.MQOpenQueue
Server Application ID: {11D09549-07D2-4A42-8F73-8137DB2A6849}
Server Application Instance ID:
{C241EA62-6383-4784-A3AE-7341C32CA99E}
Server Application Name: FbQueuedXXXXXXX
The serious nature of this error has caused the process to terminate.
Error Code = 0xc00e0025 :
COM+ Services Internals Information:
File: d:\nt\com\complus\src\comsvcs\qc\listener\listener2.cpp, Line: 531
Comsvcs.dll file version: ENU 2001.12.4720.130 shp
Ollie - 25 Jun 2004 14:55 GMT
Cheers Nick,

I had already thought of this, but I had only granted permissions to the
public queue for the 'NETWORK SERVICE' account.
When I added the permission to the private queues as well everything works
perfectly.....

Ollie

> Ollie,
>
[quoted text clipped - 32 lines]
> File: d:\nt\com\complus\src\comsvcs\qc\listener\listener2.cpp, Line: 531
> Comsvcs.dll file version: ENU 2001.12.4720.130 shp

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.