473,804 Members | 3,559 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

queued components and network service account.....

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.MQOpenQueu e

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\compl us\src\comsvcs\ qc\listener\lis tener2.cpp, Line: 531

Comsvcs.dll file version: ENU 2001.12.4720.13 0 shp

Nov 16 '05 #1
2 5836
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ollie" <ol**********@h otmail.com> wrote in message
news:eF******** ********@tk2msf tngp13.phx.gbl. ..
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.MQOpenQueu e
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\compl us\src\comsvcs\ qc\listener\lis tener2.cpp, Line: 531
Comsvcs.dll file version: ENU 2001.12.4720.13 0 shp
Nov 16 '05 #2
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

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:uV******** ******@TK2MSFTN GP12.phx.gbl...
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ollie" <ol**********@h otmail.com> wrote in message
news:eF******** ********@tk2msf tngp13.phx.gbl. ..
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.MQOpenQueu e
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\compl us\src\comsvcs\ qc\listener\lis tener2.cpp, Line: 531
Comsvcs.dll file version: ENU 2001.12.4720.13 0 shp

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3657
by: Robert Tarantino | last post by:
Hello, I am trying to find a way to create a scheduled task or service that will copy my local profile folders under "Documents and settings" to a network drive. This would allow me to restore my settings if my profile became tampered with or corrupt. Is there any sample code available out there? -Robert
3
13362
by: Bonj | last post by:
I need to write a windows service, and the only way it can access a shared drive on a file server on the network is if the installer is put in "User" mode - "LocalService", "LocalSystem" and "NetworkService" don't work. i.e. it can't access the shared drive. But in "User" it can. But I don't want it in user mode, if possible. I would rather it be a service. Is there any way to do it?
0
1135
by: atx | last post by:
Hi, I have a web service, as I understand from msdn docs, web services in IIS 6 works with network service account. Therefore for a specific purpose, I have to access the HKCU registry of network service account and add some keys there. But the problem is that, How to do that, since network service account is not a normal user account. can you please tell me how to do such a change in reg (HKCU) of network service account?? thanks, atx
3
5218
by: Miriam | last post by:
Hello, I created a Windows Service in VB.NET, which is to purge files periodically in the local system and also in the shared network drive. Here is my problem: 1. If I set the “Account” property of ServiceProcessInstaller to “Local Service” or to “NetWorkService”, it won’t work for both local and network shared directories. (I use log on as this account “NT AUTHORITY\LocalService” for “Local Service” or “NT...
2
17714
by: ABCL | last post by:
Hi All, Can any one tell me that what is the difference between Network Service, Local Service and Local System ACcount for window services ABCL
2
2427
by: Michael | last post by:
We have an ASP.NET 2.0 web application running on a Windows 2003 domain controller. Part of that application needs to read and write files from and to a network share ( living on a MAC Xserveraid) on the same network segment. I mapped a drive on the server to that share. When mapping the drive, I could enter access credentials for the shares (an account from the Mac side that does not exist in the windows domain). Using Windows Explorer,...
2
1514
by: Neo The One | last post by:
This is about ASP.NET 1.0, but it may still applies to 1.1 and 2.0. We have a very large web application, some part of the code calls EXE files to do jobs. It all worked fine on Windows 2000 Server until we migrated the app to a completely new Windows Server 2003. In a long running Terminial session, we occasionally (often) see a popup that says 'JIT Debugger was initiated by the user account NT AUTHORITY\NETWORK SERVICE'.
11
1871
by: BillGatesFan | last post by:
I have a web service which calls a .NET queued serviced component in COM+. I turned statistics on for the component. I call the component 10 times, 10 objects get created but they do not go away. I'm calling Marshal.ReleaseComObject after I make each call. public NotifyResponse Notify(NotifyRequest reqMessage) { try {
5
3576
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I have written some code that uses an OpenFileDialog to allow the user to specify the location of the file (I then store the filename in the registry). This all works fine from when the application is run normally, but I would like to force the user to do this when the software is first...
0
9705
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10567
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10323
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10074
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5515
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.